summaryrefslogtreecommitdiff
path: root/jfr_playoff/generator.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-08-09 00:51:55 +0200
committeremkael <emkael@tlen.pl>2018-09-28 01:22:10 +0200
commit9a6c0c2001c2d181d46044f68ccb7a9ae84c8d70 (patch)
tree07e1288b3f1dee09ebd1b9274247dc7ea3e27374 /jfr_playoff/generator.py
parent4fa864f8b75a3865c714a2b864784b1eb85c9c1b (diff)
Fixing parameters for swiss linksi18n
Diffstat (limited to 'jfr_playoff/generator.py')
-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 34d12e7..c80e3ac 100644
--- a/jfr_playoff/generator.py
+++ b/jfr_playoff/generator.py
@@ -180,7 +180,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',