Bridzik.get_standings fix
This commit is contained in:
+1
-4
@@ -152,10 +152,7 @@ class Series():
|
||||
return len(self.rounds) == 8 and self.get_last_round().is_completed()
|
||||
|
||||
def get_standings(self):
|
||||
standings = []
|
||||
for round in self.rounds:
|
||||
if round.is_completed():
|
||||
standings.append(round.get_points_summary())
|
||||
return [r.get_points_summary() for r in self.rounds if r.is_completed()]
|
||||
|
||||
def get_last_round(self):
|
||||
return self.rounds[-1] if self.rounds else None
|
||||
|
||||
Reference in New Issue
Block a user