From 2e474b171d20afdacf4f750df9503cacb3312694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Mon, 19 Feb 2024 16:05:30 +0100 Subject: [PATCH] fixed queue empty exception MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ebbe Baß --- server/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/app.py b/server/app.py index e1ee72d..2ffbb4d 100644 --- a/server/app.py +++ b/server/app.py @@ -161,7 +161,7 @@ def tube_index_collector(ti_queue, ti_sender): ti_sender.send(item) item_old = item print("new item") - except ti_queue.Empty: + except Queue.Empty: print("emtpy") if item_old is not None: ti_sender.send(item_old)