Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Dec 19, 2023
1 parent ff70bcd commit f46041e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions core/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,7 @@ def path(self, team):
codes = QrCode.codes(team)

for i, code in enumerate(codes):
line = (
f'<s><b>{str(code)}</b></s>'
if team.current_qr_i > i
else str(code)
)
line = f"<s><b>{str(code)}</b></s>" if team.current_qr_i > i else str(code)
lines.append(line)

return mark_safe("<br>".join(lines))
Expand Down

0 comments on commit f46041e

Please sign in to comment.