diff --git a/printcore.py b/printcore.py index f0a2ccb..7d95e55 100755 --- a/printcore.py +++ b/printcore.py @@ -206,7 +206,7 @@ class printcore(): time.sleep(0.001) if (wait == 0 and self.wait > 0): wait = self.wait - if (wait > 0) + if (wait > 0): self.clear=False self._send(command,self.lineno,True) self.lineno+=1 @@ -228,7 +228,7 @@ class printcore(): time.sleep(0.001) if (wait == 0 and self.wait > 0): wait = self.wait - if (wait > 0) + if (wait > 0): self.clear=False self._send(command) while ((wait > 0) and not self.clear):