🐛 sleep => time.sleep
This commit is contained in:
1 parent
f3f1061f9d
commit
44b4c6cc40
1 file changed
+1
-1
@@ -3363,7 +3363,7 @@ class MachineCom(object):
|
||||
# may be busy, so give things a little time before we try again. Extend this
|
||||
# period each time we fail until either we write the data or run out of retry attempts.
|
||||
if passes > 1:
|
||||
sleep((passes-1)/10.0)
|
||||
time.sleep((passes-1)/10.0)
|
||||
|
||||
##~~ command handlers
|
||||
|
||||
|
||||
Reference in new issue
Block a user