diff --git a/Controll.py b/Controll.py index 675f6f7..4c6b080 100644 --- a/Controll.py +++ b/Controll.py @@ -34,10 +34,10 @@ def main(): for i, serial in enumerate(serials): ctrl = controllers[serial] win.add_list_item( - text=serial, - index=i, - on_start=make_on_start(ctrl), - on_stop=make_on_stop(ctrl), + serial, + i, + make_on_start(ctrl), + make_on_stop(ctrl), ) # 4) Start