job_status: fix E225
This commit is contained in:
parent
5a34fd367a
commit
9a215306b7
@ -671,7 +671,7 @@ class Panel(ScreenPanel):
|
|||||||
if estimated < 1:
|
if estimated < 1:
|
||||||
return
|
return
|
||||||
progress = min(max(print_duration / estimated, 0), 1)
|
progress = min(max(print_duration / estimated, 0), 1)
|
||||||
if progress >=1:
|
if progress >= 1:
|
||||||
estimated = file_time
|
estimated = file_time
|
||||||
progress = min(max(print_duration / estimated, 0), 1)
|
progress = min(max(print_duration / estimated, 0), 1)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user