Commit a63c310e authored by Guillaume Seguin's avatar Guillaume Seguin

More cleanup

parent f1070225
...@@ -213,15 +213,15 @@ class printcore(): ...@@ -213,15 +213,15 @@ class printcore():
def pause(self): def pause(self):
"""Pauses the print, saving the current position. """Pauses the print, saving the current position.
""" """
self.paused=True self.paused = True
self.printing=False self.printing = False
time.sleep(1) time.sleep(1)
def resume(self): def resume(self):
"""Resumes a paused print. """Resumes a paused print.
""" """
self.paused=False self.paused = False
self.printing=True self.printing = True
Thread(target=self._print).start() Thread(target=self._print).start()
def send(self,command,wait=0): def send(self,command,wait=0):
......
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