9
0
Fork 0

fix websocket url

This commit is contained in:
Silver Kuusik 2018-09-12 22:15:54 +02:00
parent 8b9c63b224
commit 24a804a3ed
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ while not wlan.isconnected():
sleep_ms(100)
# Connect to the websocket
url = "ws://%s/p2p/sumo-%s/browser" % (config['sumo_server'], config['sumo_id'])
url = "ws://%s/p2p/sumo-%s/browser/" % (config['sumo_server'], config['sumo_id'])
conn = uwebsockets.connect(url)
# Set X seconds timeout for socket reads