Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Rkomi98 committed Nov 6, 2024
1 parent e4e8a58 commit 4b4e29b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scoreboard/read_dv.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ def _read_data(self):
teams = get_teams(rows)
self.home_team_id = teams[0].split(";")[0]
self.home_team = teams[0].split(";")[1]
self.home_setswon = int(teams[0].split(";")[2])
self.home_setswon = int(teams[0].split(";")[2] or 0)
self.home_coaches = []
self.home_coaches.append(teams[0].split(';')[3])
self.home_coaches.append(teams[0].split(';')[4])
self.visiting_team_id = teams[1].split(";")[0]
self.visiting_team = teams[1].split(";")[1]
self.visiting_setswon = int(teams[1].split(";")[2])
self.visiting_setswon = int(teams[1].split(";")[2] or 0)
self.visiting_coaches = []
self.visiting_coaches.append(teams[1].split(';')[3])
self.visiting_coaches.append(teams[1].split(';')[4])
Expand Down

0 comments on commit 4b4e29b

Please sign in to comment.