From 28b8731afc3d8abf6e1bebb62048d90ef8e863ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ebbe=20Ba=C3=9F?= Date: Sat, 17 Feb 2024 00:59:46 +0100 Subject: [PATCH] fixed if request if tube exsist 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 5c2eafe..68eae09 100644 --- a/server/app.py +++ b/server/app.py @@ -52,7 +52,7 @@ def register_tube(mac_address): print(existing_tube) - if existing_tube: + if existing_tube is not None: # Tube already exists, do nothing for now pass else: