From 4ebf9d40812eede87420e8c5bd6ce40918e6b67d Mon Sep 17 00:00:00 2001 From: James Ridgway Date: Mon, 30 Aug 2021 08:50:46 +0100 Subject: [PATCH] Better logging for no streamdeck connected --- devdeck/main.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/devdeck/main.py b/devdeck/main.py index 1d65145..1747404 100644 --- a/devdeck/main.py +++ b/devdeck/main.py @@ -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()