From accf70ee6c0530f4e50bd292765d26798be40050 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Sun, 8 Sep 2013 15:47:47 +0200 Subject: [PATCH] Reset start time when (re)starting a print job Closes #245 --- octoprint/util/comm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/octoprint/util/comm.py b/octoprint/util/comm.py index 45882d98..b7d788cc 100644 --- a/octoprint/util/comm.py +++ b/octoprint/util/comm.py @@ -1078,6 +1078,7 @@ class PrintingGcodeFileInformation(PrintingFileInformation): self._filehandle = open(self._filename, "r") self._lineCount = None self._prevLineType = "CUSTOM" + self._startTime = None def getNext(self): """