diff options
Diffstat (limited to 'jfr_playoff/dto.py')
-rw-r--r-- | jfr_playoff/dto.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/jfr_playoff/dto.py b/jfr_playoff/dto.py index b1a3a5c..8c04901 100644 --- a/jfr_playoff/dto.py +++ b/jfr_playoff/dto.py @@ -11,9 +11,11 @@ class Team(object): name = None possible_name = None score = 0.0 + place = None known_teams = 0 def __init__(self): + self.place = [] self.name = [] self.possible_name = [] @@ -35,6 +37,8 @@ class Match(object): possible_loser = None winner_matches = None loser_matches = None + winner_place = None + loser_place = None def __repr__(self): return (u'#%d (%s) %s [%s]' % ( |