Skip to content

Commit

Permalink
disable debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
RegsonDR committed Nov 8, 2022
1 parent a4def53 commit 29cf338
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

OAUTH_TOKEN_URL = "https://accounts.spotify.com/api/token"

DEBUG_WEEKDAYS = True # skips weekday recognition for easier testing
DEBUG_WEEKDAYS = False # skips weekday recognition for easier testing

def refresh_access_token():
payload = {
Expand Down Expand Up @@ -111,6 +111,9 @@ def main():
print("Auth token variables have not been loaded!")
return

if DEBUG_WEEKDAYS == True:
print("Debug mode enabled")

handled_playlist_count = process_multiple_playlists(PLAYLISTS_CONFIG)
if handled_playlist_count == 0:
print("No playlists handled. Have you set any playlist tokens in your .env for today?")
Expand Down

0 comments on commit 29cf338

Please sign in to comment.