From 8bbb642a565cdaad90ecff844a605bbe893a7e08 Mon Sep 17 00:00:00 2001 From: Thomas Hou Date: Tue, 28 Jul 2015 11:51:32 +0200 Subject: [PATCH] fixed bug: when new job start, job progress is last 100%. (cherry picked from commit 200ad3b) --- src/octoprint/printer/standard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/octoprint/printer/standard.py b/src/octoprint/printer/standard.py index a652e6e7..c332182c 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -389,6 +389,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): self._timeEstimationData = TimeEstimationHelper(rolling_window=rolling_window, threshold=threshold, countdown=countdown) self._lastProgressReport = None + self._setProgressData(0, None, None, None) self._setCurrentZ(None) self._comm.startPrint()