Skip to content

Commit

Permalink
Merge pull request #76 from infrat/master
Browse files Browse the repository at this point in the history
Blitzortung websockets api fix
  • Loading branch information
mrk-its authored Jul 13, 2023
2 parents 8dc690b + 3138030 commit 3833c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ws_client/ws_client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 3833c6c

Please sign in to comment.