fixed if request if tube exsist
Signed-off-by: Ebbe Baß <ebbe.bass>
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ def register_tube(mac_address):
|
|||||||
|
|
||||||
print(existing_tube)
|
print(existing_tube)
|
||||||
|
|
||||||
if existing_tube:
|
if existing_tube is not None:
|
||||||
# Tube already exists, do nothing for now
|
# Tube already exists, do nothing for now
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user