From c242c75b6b6eeed941e9afd4a1d2651fd0dff1f4 Mon Sep 17 00:00:00 2001 From: zman Date: Mon, 7 Apr 2025 17:38:36 -0400 Subject: [PATCH] b --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 8ece67c..dd84bea 100644 --- a/app.py +++ b/app.py @@ -11,7 +11,6 @@ import mimetypes import logging from logging.handlers import RotatingFileHandler import time -import usb.core # For USB device re-initialization app = Flask(__name__) @@ -139,6 +138,7 @@ def process_queue(): # Process the file (convert and print) app.logger.info(f"Processing file: {file_path}") print_address_label(file_path) + time.sleep(10) # Signal that the task is done file_queue.task_done()