Skip to content

Commit

Permalink
Fix streamdeck consumer
Browse files Browse the repository at this point in the history
  • Loading branch information
redaxmedia committed Feb 7, 2022
1 parent 84e7024 commit a8b5897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chroma_feedback/consumer/elgato_streamdeck/device.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def set_device(device : Any, producer_report : List[ProducerReport]) -> bool:
# process report

for index in range(device.key_count()):
if index < len(producer_report):
if index < len(producer_report) - 1:
device.set_key_image(index, create_image(device, producer_report[index]))
else:
device.set_key_image(index, None)
Expand Down

0 comments on commit a8b5897

Please sign in to comment.