This commit is contained in:
Silver Kuusik 2018-09-12 14:50:45 +02:00
parent ce834b02ac
commit 6540a5b17e

View File

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