Skip to content

Commit

Permalink
fix fstring bug #45
Browse files Browse the repository at this point in the history
  • Loading branch information
hairez committed Aug 18, 2024
1 parent 2793fd9 commit d7500ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion submit.py
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ def show_judgement(submission_url, cfg):
else:
s += 'x'

print(f'[{testcases_total: <{s}}] {testcases_done} / {testcases_total}', end='')
print(f'[{s: <{testcases_total}}] {testcases_done} / {testcases_total}', end='')

sys.stdout.flush()

Expand Down

0 comments on commit d7500ca

Please sign in to comment.