job_status: fix issue when checking the state too early
This commit is contained in:
parent
be2d5b040c
commit
2d8b5c1974
@ -732,7 +732,7 @@ class JobStatusPanel(ScreenPanel):
|
||||
def state_check(self):
|
||||
ps = self._printer.get_stat("print_stats")
|
||||
|
||||
if ps['state'] == self.state:
|
||||
if 'state' not in ps or ps['state'] == self.state:
|
||||
return True
|
||||
|
||||
if ps['state'] == "printing":
|
||||
|
Loading…
x
Reference in New Issue
Block a user