Commit 48383711 authored by Guillaume Seguin's avatar Guillaume Seguin

Cleanup

parent dafc89e8
...@@ -227,7 +227,7 @@ class printcore(): ...@@ -227,7 +227,7 @@ class printcore():
self.clear = False self.clear = False
self._send(command, self.lineno, True) self._send(command, self.lineno, True)
self.lineno += 1 self.lineno += 1
while (wait > 0) and self.printer and self.printing and not self.clear: while wait > 0 and self.printer and self.printing and not self.clear:
time.sleep(0.001) time.sleep(0.001)
wait -= 1 wait -= 1
else: else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment