From 7a39c7e483de1c759aa74011e0efafc6543e7226 Mon Sep 17 00:00:00 2001 From: Sunpy Date: Tue, 30 Jul 2019 22:08:53 +0200 Subject: [PATCH] Length of data on compressed history --- handlers/mainHandler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"