Commit 0ae7e1fe authored by kliment's avatar kliment

Merge pull request #251 from cakeller98/exerimental

Exerimental: missing colons on if statements
parents a198488d 8143ee55
...@@ -206,7 +206,7 @@ class printcore(): ...@@ -206,7 +206,7 @@ class printcore():
time.sleep(0.001) time.sleep(0.001)
if (wait == 0 and self.wait > 0): if (wait == 0 and self.wait > 0):
wait = self.wait wait = self.wait
if (wait > 0) if (wait > 0):
self.clear=False self.clear=False
self._send(command,self.lineno,True) self._send(command,self.lineno,True)
self.lineno+=1 self.lineno+=1
...@@ -228,7 +228,7 @@ class printcore(): ...@@ -228,7 +228,7 @@ class printcore():
time.sleep(0.001) time.sleep(0.001)
if (wait == 0 and self.wait > 0): if (wait == 0 and self.wait > 0):
wait = self.wait wait = self.wait
if (wait > 0) if (wait > 0):
self.clear=False self.clear=False
self._send(command) self._send(command)
while ((wait > 0) and not self.clear): while ((wait > 0) and not self.clear):
......
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