Skip to content

Commit 7b2a734

Browse files
committed
fix: pass DEBUG variable to get_duo_info instead of always True
1 parent 5ec7b6b commit 7b2a734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

saver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ def leaderboard_registration(account):
127127
def save_streak(account):
128128
if DEBUG:
129129
print(f"{current_time()} [bold magenta][DEBUG][/] Checking streak for {config['accounts'][account]['username']}")
130-
duo_info = get_duo_info(account, True)
130+
duo_info = get_duo_info(account, DEBUG)
131131
headers = get_headers(account)
132132
user_tz = pytz.timezone(TIMEZONE)
133133
now = datetime.now(user_tz)

0 commit comments

Comments
 (0)