From 12d941fe2e2c6c92bfe5ecbce854b40bb0d57330 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, 2 insertions(+) diff --git a/app.py b/app.py index 131fb50..ab6f804 100644 --- a/app.py +++ b/app.py @@ -10,6 +10,7 @@ from PIL import Image import mimetypes import logging from logging.handlers import RotatingFileHandler +import time app = Flask(__name__) @@ -98,6 +99,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()