Fix wrong (1%) progress on print finish

This commit is contained in:
Gina Häußge committed 2018-06-06 13:06:39 +02:00
1 parent 31fbebdbb9
commit 717eef25da
1 file changed
+1 -1
+1 -1
View File
@@ -1139,7 +1139,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback, ProtocolListener,
payload = job.event_payload()
if payload:
payload["time"] = job.elapsed
self._update_progress_data(completion=1.0,
self._update_progress_data(completion=100,
filepos=payload["size"],
print_time=payload["time"],
print_time_left=0)