From 6b900ef16d20b1ceb5214618050f313fd1f97721 Mon Sep 17 00:00:00 2001 From: zman Date: Tue, 8 Apr 2025 10:32:34 -0400 Subject: [PATCH] j --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index faf7b7c..ed67dbe 100644 --- a/app.py +++ b/app.py @@ -91,7 +91,7 @@ def print_address_label(pdf_path): backend_identifier=backend, blocking=True ) - print(status) + app.logger.info(f"Printer status: {status}") app.logger.info("Print job sent successfully") except Exception as e: @@ -144,4 +144,4 @@ def upload_file(): return jsonify({'message': f'File {file.filename} uploaded and queued for processing'}), 200 if __name__ == '__main__': - app.run(debug=True) \ No newline at end of file + app.run() \ No newline at end of file