fix walkout check when registering online

bracket-feature
Raz 9 months ago
parent 6eee5c48d2
commit 154cf82123
  1. 3
      tournaments/services/tournament_registration.py

@ -307,5 +307,6 @@ class TournamentRegistrationService:
def _license_already_registered(self, stripped_license):
return PlayerRegistration.objects.filter(
team_registration__tournament=self.tournament,
licence_id__startswith=stripped_license
licence_id__startswith=stripped_license,
team_registration__walk_out=False
).exists()

Loading…
Cancel
Save