From 3138030ac9c4165059a86fbb26ea78aee0e381f8 Mon Sep 17 00:00:00 2001 From: Jarek Surmacz Date: Thu, 13 Jul 2023 16:19:19 +0200 Subject: [PATCH] blitzortung api fix --- ws_client/ws_client/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ws_client/ws_client/client.py b/ws_client/ws_client/client.py index 49aefc7..b4b934f 100644 --- a/ws_client/ws_client/client.py +++ b/ws_client/ws_client/client.py @@ -78,7 +78,7 @@ def publish_latest_version(self, client): uri = "wss://{}.blitzortung.org:443/".format(random.choice(hosts)) async with websockets.connect(uri, ssl=ssl_context) as websocket: print(f"connected to {uri}") - await websocket.send('{"a": 418}') + await websocket.send('{"a": 111}') while True: msg = await websocket.recv() data = json.loads(decode(msg))