You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I try to read the presets of a not yet assigned button with:
presets = device.presets()
print(presets[4].name)
I get this error:
root@e422731c2b9f:~# ./get_buttons.py
Traceback (most recent call last):
File "./get_buttons.py", line 18, in <module>
print(presets[4].name)
IndexError: list index out of range
root@e422731c2b9f:~#
Iam a python beginner, so please ignore this if there is a simple solution for that in python.
The text was updated successfully, but these errors were encountered:
Hi,
when I try to read the presets of a not yet assigned button with:
I get this error:
Iam a python beginner, so please ignore this if there is a simple solution for that in python.
The text was updated successfully, but these errors were encountered: