Skip to content

Commit

Permalink
fix: pain
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Dec 7, 2023
1 parent 6eb5388 commit a1f8ddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def get_clue(cls, team: Team) -> str | None:
hint = cls.objects.filter(hunt=team.hunt, qr_index=team.qr_len).first()
try:
return hint.hint
except AttributeError, cls.DoesNotExist:
except (AttributeError, cls.DoesNotExist):
return None

class Meta:
Expand Down

0 comments on commit a1f8ddd

Please sign in to comment.