🐛 sleep => time.sleep

This commit is contained in:
Gina Häußge committed 2019-01-28 13:00:26 +01:00
1 parent f3f1061f9d
commit 44b4c6cc40
1 file changed
+1 -1
+1 -1
View File
@@ -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