diff --git a/scripts/shutdown.py b/scripts/shutdown.py index ca1305a..afe779e 100644 --- a/scripts/shutdown.py +++ b/scripts/shutdown.py @@ -50,7 +50,7 @@ def core(): # ui stuff btn.click(when, hidden_checkbox, hidden_checkbox, _js=js) -key = opts.data["quicksettings_list"][-1] +key = opts.quicksettings_list[-1] def fun(key): # figuring out where to place the stop button