job_status: Add missing variable declaration for gettext
This commit is contained in:
parent
47e233928e
commit
7743f2aa63
@ -444,7 +444,8 @@ class JobStatusPanel(ScreenPanel):
|
||||
ps = self._printer.get_stat("print_stats")
|
||||
if ps['state'] == self.state:
|
||||
return True
|
||||
|
||||
_ = self.lang.gettext
|
||||
|
||||
if ps['state'] == "printing" and self.state != "printing" and self.state != "cancelling":
|
||||
self.set_state("printing")
|
||||
elif ps['state'] == "complete" and self.state != "complete":
|
||||
|
Loading…
x
Reference in New Issue
Block a user