Commit 0a7f2335 authored by Guillaume Seguin's avatar Guillaume Seguin

Fix #501 (maybe) by resetting extra_print_time when starting a sd print

parent 8245f90e
...@@ -1114,6 +1114,7 @@ Printrun. If not, see <http://www.gnu.org/licenses/>.""" ...@@ -1114,6 +1114,7 @@ Printrun. If not, see <http://www.gnu.org/licenses/>."""
self.p.startprint(self.fgcode) self.p.startprint(self.fgcode)
def sdprintfile(self, event): def sdprintfile(self, event):
self.extra_print_time = 0
self.on_startprint() self.on_startprint()
threading.Thread(target = self.getfiles).start() threading.Thread(target = self.getfiles).start()
......
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