Commit b2f26308 authored by Guillaume Seguin's avatar Guillaume Seguin

Don't block waiting for oks when over TCP

parent ee43a57e
......@@ -492,7 +492,9 @@ class printcore():
return
while self.printer and self.printing and not self.clear:
time.sleep(0.001)
self.clear = False
# Only wait for oks when using serial connections
if not self.printer_tcp:
self.clear = False
if not (self.printing and self.printer and self.online):
self.clear = True
return
......
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