diff --git a/main.py b/main.py index 1239caf..ac66e54 100644 --- a/main.py +++ b/main.py @@ -87,6 +87,9 @@ def ws_handler(): # for terminating delays in code sumorobot.terminate = True #print("Got stop") + elif data == b"calibrate_line": + sumorobot.calibrate_line() + #print("Got calibrate") elif b"Gone" in data: print("Server said 410 Gone, attempting to reconnect...") conn = uwebsockets.connect(url)