Merge branch 'fix/noProgressReportOn0' into devel
Conflicts: src/octoprint/__init__.py
This commit is contained in:
commit
833bf07ded
1 changed files with 1 additions and 1 deletions
|
|
@ -640,7 +640,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
|
|||
|
||||
printTimeLeft = totalPrintTime - cleanedPrintTime if (totalPrintTime is not None and cleanedPrintTime is not None) else None
|
||||
|
||||
if progress:
|
||||
if progress is not None:
|
||||
progress_int = int(progress * 100)
|
||||
if self._lastProgressReport != progress_int:
|
||||
self._lastProgressReport = progress_int
|
||||
|
|
|
|||
Loading…
Reference in a new issue