diff --git a/bridzik.py b/bridzik.py index 2dfb210..3332285 100644 --- a/bridzik.py +++ b/bridzik.py @@ -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