Skip to content

Commit

Permalink
chore: specify how to enable debug mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Tedyst committed Sep 19, 2021
1 parent 51ebdd8 commit 01c23b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions downloadTodayRecordings.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
channelList = server.Streaming.getChannels()

logging.getLogger().setLevel(logging.INFO)
# If you want to see the debug messages, you can uncomment the following line.
# logging.getLogger().setLevel(logging.DEBUG)

if not os.path.exists("Downloads"):
logging.debug("Created folder Downloads")
Expand Down
2 changes: 2 additions & 0 deletions downloadTodayRecordingsAsFrames.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
channelList = server.Streaming.getChannels()

logging.getLogger().setLevel(logging.INFO)
# If you want to see the debug messages, you can uncomment the following line.
# logging.getLogger().setLevel(logging.DEBUG)

if not os.path.exists("Downloads"):
logging.debug("Created folder Downloads")
Expand Down

0 comments on commit 01c23b6

Please sign in to comment.