summaryrefslogtreecommitdiff
path: root/jfr_playoff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-08-09 00:51:55 +0200
committeremkael <emkael@tlen.pl>2018-08-09 00:51:55 +0200
commitc8bf307f4a5782b84e0ba5b0f204f01dcbcee9e9 (patch)
treea848333c0e5f2467d6863fb8c9034d60d0690b26 /jfr_playoff
parent20da60a6381a012677ef4ab720afa3e169eac0fd (diff)
Fixing parameters for swiss links
Diffstat (limited to 'jfr_playoff')
-rw-r--r--jfr_playoff/generator.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/jfr_playoff/generator.py b/jfr_playoff/generator.py
index 22bdc82..c4a053e 100644
--- a/jfr_playoff/generator.py
+++ b/jfr_playoff/generator.py
@@ -197,7 +197,8 @@ class PlayoffGenerator(object):
event_label = self.p_temp.get('SWISS_DEFAULT_LABEL', event['position'])
if 'label' in event and event['label'] is not None:
event_label = event['label']
- info.append((self.p_temp.get('SWISS_LINK') \
+ info.append((self.p_temp.get('SWISS_LINK',
+ event['link'], event_label) \
if event['finished'] \
else self.p_temp.get(
'SWISS_RUNNING_LINK',