summaryrefslogtreecommitdiff
path: root/jfr_playoff/data.py
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff/data.py')
-rw-r--r--jfr_playoff/data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jfr_playoff/data.py b/jfr_playoff/data.py
index 0190810..6598f33 100644
--- a/jfr_playoff/data.py
+++ b/jfr_playoff/data.py
@@ -102,12 +102,12 @@ class PlayoffData(object):
def get_config_match_teams(self, match):
teams = [Team(), Team()]
for i in range(0, 2):
+ match_teams = []
if isinstance(match['teams'][i], basestring):
teams[i].name = match['teams'][i]
elif isinstance(match['teams'][i], list):
teams[i].name = '<br />'.join(match['teams'][i])
else:
- match_teams = []
if 'winner' in match['teams'][i]:
match_teams += [
self.match_info[winner_match].winner