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']):