Jobstate is now also tracked

This commit is contained in:
Jaime van Kessel 2016-06-16 11:43:53 +02:00
parent bb1fead4c6
commit c6b88118dc

View file

@ -215,7 +215,7 @@ class NetworkPrinterOutputDevice(PrinterOutputDevice):
if progress == 0: if progress == 0:
progress += 0.001 progress += 0.001
self.setProgress(progress) self.setProgress(progress)
self.setJobState(json_data["state"])
self.setTimeElapsed(json_data["time_elapsed"]) self.setTimeElapsed(json_data["time_elapsed"])
self.setTimeTotal(json_data["time_total"]) self.setTimeTotal(json_data["time_total"])