From 190260bbf04b1df01e0d55388eca6dff2278058e Mon Sep 17 00:00:00 2001 From: FReenen Date: Thu, 8 Aug 2024 20:23:16 +0200 Subject: [PATCH] fix bugs --- ground-station.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ground-station.py b/ground-station.py index 38ee29e..b4c4ba8 100644 --- a/ground-station.py +++ b/ground-station.py @@ -144,7 +144,7 @@ async def newClient(clientId, ws): return client async def newBoat(boatId, name, ws): - boat = { "id": boatId, "name": name, "ws": ws, "state": "active" } + boat = { "id": boatId, "name": name, "ws": ws, "state": BOAT_STATE_AVAILABLE } print("new boat connected: " + boatId) for bo in boats: if (bo['id'] == boat['id']):