Skip to content

Commit

Permalink
Fix string formatting in print statement
Browse files Browse the repository at this point in the history
Changed the print statement for skipping battle ID logging. Single quotation marks used inside f-string causing a syntax error, replaced with double quotation marks for correct string formatting.
  • Loading branch information
catgirlinspace committed Jun 10, 2024
1 parent 8adf8c0 commit 64bbe41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion statink_importer/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def import_statink(import_id):
if not (data.get('lobby') and data.get('rule') and data.get('stage') and data.get(
'result') and not find_existing_battle(uploader, played_time)):
# battle is likely a weird broken one or already exists, skip
print(f'skipping battle {data.get('id')}')
print(f'skipping battle {data.get("id")}')
continue

with transaction.atomic():
Expand Down

0 comments on commit 64bbe41

Please sign in to comment.