job_status: fix E225

This commit is contained in:
alfrix 2023-09-03 11:49:22 -03:00
parent 5a34fd367a
commit 9a215306b7

View File

@ -671,7 +671,7 @@ class Panel(ScreenPanel):
if estimated < 1:
return
progress = min(max(print_duration / estimated, 0), 1)
if progress >=1:
if progress >= 1:
estimated = file_time
progress = min(max(print_duration / estimated, 0), 1)