Skip to content

Commit

Permalink
Better logging for no streamdeck connected
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesridgway committed Aug 30, 2021
1 parent e335cd2 commit 4ebf9d4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions devdeck/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,10 @@ def main():
except KeyboardInterrupt as ex:
deck_manager.close()
deck.close()

if len(streamdecks) == 0:
root.info("No streamdecks detected, exiting.")


if __name__ == '__main__':
main()

0 comments on commit 4ebf9d4

Please sign in to comment.