Commit b2f26308 authored by Guillaume Seguin's avatar Guillaume Seguin

Don't block waiting for oks when over TCP

parent ee43a57e
......@@ -492,6 +492,8 @@ class printcore():
return
while self.printer and self.printing and not self.clear:
time.sleep(0.001)
# 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
......
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