Remove socketio from Worker for the moment
This commit is contained in:
@@ -111,7 +111,7 @@ web = Web(app, print_queue)
|
|||||||
# Start worker thread
|
# Start worker thread
|
||||||
# When created, the worker will try to find printers connected to the system
|
# When created, the worker will try to find printers connected to the system
|
||||||
try:
|
try:
|
||||||
worker = PrintWorker(app, print_queue, socketio)
|
worker = PrintWorker(app, print_queue)
|
||||||
worker.start()
|
worker.start()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
app.logger.error("Could not start the worker because %s ", str(e))
|
app.logger.error("Could not start the worker because %s ", str(e))
|
||||||
|
|||||||
Reference in New Issue
Block a user