Skip to content

Commit

Permalink
im so smaort
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Dec 19, 2023
1 parent 93324c9 commit eacde4c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/admin.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from django.contrib.auth.admin import UserAdmin as UserAdmin_
from django.forms import BaseInlineFormSet
from django.urls import reverse
from django.utils.safestring import mark_safe
from django.utils.translation import gettext_lazy as _

Expand Down Expand Up @@ -80,7 +79,7 @@ def path(self, team):
for i, code in enumerate(codes):
line = (
f'<b style="font-size: medium;">{str(code)}</b>'
if i >= team.current_qr_i
if team.current_qr_i >= i
else str(code)
)
lines.append(line)
Expand Down

0 comments on commit eacde4c

Please sign in to comment.