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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/jfr_playoff/data.py b/jfr_playoff/data.py
index 6598f33..435b4b6 100644
--- a/jfr_playoff/data.py
+++ b/jfr_playoff/data.py
@@ -191,8 +191,8 @@ class PlayoffData(object):
swiss_results = sorted(
swiss_results, key=lambda t: t[1], reverse=True)
swiss_position = (
- event['source_position']
- if 'source_position' in event
+ event['swiss_position']
+ if 'swiss_position' in event
else 1
)
position_limit = (