From 6ae5b811f495b3b8fe6b199d7e26833303479455 Mon Sep 17 00:00:00 2001 From: HeshamTB Date: Fri, 10 Jun 2022 19:11:12 +0300 Subject: [PATCH] sql_app: correct monitor mac Signed-off-by: HeshamTB --- sql_app/init_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql_app/init_db.py b/sql_app/init_db.py index bebe34f..f915798 100644 --- a/sql_app/init_db.py +++ b/sql_app/init_db.py @@ -55,7 +55,7 @@ def init_door(): crud.create_iot_entity(db, iot_door) def init_monitor(): - iot_monitor = schemas.IotEntityCreate(bluetooth_mac="ff:ff:00:ff", + iot_monitor = schemas.IotEntityCreate(bluetooth_mac="ff:ff:ff", description="Iot Lab Monitor") monitor_exists = crud.get_monitor_bluetooth(db, iot_monitor.bluetooth_mac) if monitor_exists: return