Skip to content

Commit

Permalink
more validation
Browse files Browse the repository at this point in the history
  • Loading branch information
3akev committed Aug 6, 2024
1 parent 8d3842d commit 365f9cc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions insalan/tournament/models/team.py
Original file line number Diff line number Diff line change
@@ -172,9 +172,8 @@ def get_seat_slot_id(self) -> Optional[int]:
"""
Retrieve the seat slot identifier of the team
"""
seat_slot = self.get_seat_slot()
if seat_slot is not None:
return seat_slot.id
if self.seat_slot is not None:
return self.seat_slot.id
return None

def refresh_validation(self):

0 comments on commit 365f9cc

Please sign in to comment.