Manage error when no Printers are found
This commit is contained in:
@@ -64,7 +64,7 @@ class PrintWorker(threading.Thread):
|
||||
"Ready" if self.printer.ready else "Not ready",
|
||||
)
|
||||
except Exception as e:
|
||||
self.app.logger.error(str(e))
|
||||
self.app.logger.error("No printer detected" + str(e))
|
||||
self.printer = None
|
||||
|
||||
if self.state != "idle":
|
||||
|
||||
Reference in New Issue
Block a user