Commit 35ab6fa8 authored by Laurens Valk's avatar Laurens Valk

tools/virtual-hub-animator: Fix broken Python dep.

The broadcast arg has been deprecated and is now the default.
parent 932bba49
...@@ -35,7 +35,7 @@ motor_angles = [0, 0, 0, 0, 0, 0] ...@@ -35,7 +35,7 @@ motor_angles = [0, 0, 0, 0, 0, 0]
def socket_send_data_task(): def socket_send_data_task():
while True: while True:
sio.sleep(0.04) sio.sleep(0.04)
sio.emit("hubStateData", {"data": motor_angles}, broadcast=True) sio.emit("hubStateData", {"data": motor_angles})
def server_task(): def server_task():
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment