From 4838371128f66ff3aa06c445954d64f0bf3fa88d Mon Sep 17 00:00:00 2001 From: Guillaume Seguin Date: Sat, 4 Aug 2012 10:49:31 +0200 Subject: [PATCH] Cleanup --- printcore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/printcore.py b/printcore.py index e4843f3..f2e1be8 100755 --- a/printcore.py +++ b/printcore.py @@ -227,7 +227,7 @@ class printcore(): self.clear = False self._send(command, self.lineno, True) 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) wait -= 1 else: