Skip to content

Commit 04d7598

Browse files
committed
bug fix for mbox algorithm
1 parent d87a7fd commit 04d7598

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pull_messages.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ def main():
3838
else:
3939
apiKey = login(args.username, args.password)
4040
if apiKey:
41-
raceIDs = getRaceIDsLoggedIn(apiKey, args.gameid)
42-
outFile = f'messages_{args.gameid}.mbox'
43-
write_msg_to_mbox(outFile, raceIDs, apiKey, args.gameid)
41+
raceIDs = getRaceIDsLoggedIn(apiKey, args.GAMEID)
42+
outFile = f'messages_{args.GAMEID}.mbox'
43+
write_msg_to_mbox(outFile, raceIDs, apiKey, args.GAMEID)
4444
print(f'Messages saved to {outFile}')
4545

4646

0 commit comments

Comments
 (0)