Skip to content

Commit

Permalink
[bugfix] use lower() not lower (#209)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertnurnberg authored Feb 12, 2025
1 parent 220692e commit 8b4be91
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions download_fishtest_pgns.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,11 @@ def count_games(filename):
unix_timestamp = result_time_utc.timestamp()

additional_query_params = f"&timestamp={unix_timestamp}"
if args.ltc_only.lower == "true":
if args.ltc_only.lower() == "true":
additional_query_params += "&ltc_only=1"
if args.success_only.lower == "true":
if args.success_only.lower() == "true":
additional_query_params += "&success_only=1"
if args.yellow_only.lower == "true":
if args.yellow_only.lower() == "true":
additional_query_params += "&yellow_only=1"
if args.username is not None:
additional_query_params += f"&username={args.username}"
Expand Down

0 comments on commit 8b4be91

Please sign in to comment.