Skip to content

Commit 4ebf9d4

Browse files
committed
Better logging for no streamdeck connected
1 parent e335cd2 commit 4ebf9d4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

devdeck/main.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,10 @@ def main():
8888
except KeyboardInterrupt as ex:
8989
deck_manager.close()
9090
deck.close()
91+
92+
if len(streamdecks) == 0:
93+
root.info("No streamdecks detected, exiting.")
94+
95+
96+
if __name__ == '__main__':
97+
main()

0 commit comments

Comments
 (0)