diff --git a/handlers/mainHandler.py b/handlers/mainHandler.py index 573e44f..9be6f70 100644 --- a/handlers/mainHandler.py +++ b/handlers/mainHandler.py @@ -7,7 +7,6 @@ from time import time from objects import glob flights = {} -#flight_data_cache = b"" clients = set() STRUCTS = { @@ -105,8 +104,9 @@ async def handle(ws, path): await send_error(b"Flight not found") else: data = flights[uuid].get_all() - await cli.ws.send(struct.pack(b"