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.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/jfr_playoff/data.py b/jfr_playoff/data.py
index 47d66f5..5599fe5 100644
--- a/jfr_playoff/data.py
+++ b/jfr_playoff/data.py
@@ -231,7 +231,8 @@ class PlayoffData(object):
def get_swiss_info(self):
return [{
'link': self.get_swiss_link(event),
- 'position': event['position']
+ 'position': event['position'],
+ 'label': event['label'] if 'label' in event else None
} for event in self.swiss]
def get_dimensions(self):