From 83a08cd927ec85fef8db145a70e0495f5ae52693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gina=20H=C3=A4u=C3=9Fge?= Date: Wed, 16 Nov 2016 14:12:37 +0100 Subject: [PATCH] Fix a small issue with estimator output when no file is selected --- src/octoprint/printer/standard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/octoprint/printer/standard.py b/src/octoprint/printer/standard.py index fe7ed97a..c693b0cd 100644 --- a/src/octoprint/printer/standard.py +++ b/src/octoprint/printer/standard.py @@ -763,7 +763,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback): """ if progress is None or printTime is None or cleanedPrintTime is None: - return None + return None, None dumbTotalPrintTime = printTime / progress estimatedTotalPrintTime = self._estimateTotalPrintTime(progress, cleanedPrintTime)