Job_status: Fix not changing state if a print is issued during cancelling

This commit is contained in:
alfrix authored and Alfredo Monclus committed 2022-01-22 09:06:33 -03:00
1 parent de0b6ea435
commit 8e8e23de0f
1 file changed
+2
+2
View File
@@ -417,6 +417,8 @@ class JobStatusPanel(ScreenPanel):
self.fan = int(round(data['fan']['speed'], 2)*100)
self.labels['fan'].set_text("%3d%%" % self.fan)
if ps['state'] != self.state:
self.state_check()
if self.state in ["cancelling", "cancelled", "complete", "error"]:
return