summaryrefslogtreecommitdiff
path: root/jfr_playoff/generator.py
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff/generator.py')
-rw-r--r--jfr_playoff/generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jfr_playoff/generator.py b/jfr_playoff/generator.py
index bb18bb9..49ae3a4 100644
--- a/jfr_playoff/generator.py
+++ b/jfr_playoff/generator.py
@@ -129,7 +129,7 @@ class PlayoffGenerator(object):
event_label = p_temp.SWISS_DEFAULT_LABEL % (event['position'])
if 'label' in event and event['label'] is not None:
event_label = event['label']
- info.append(p_temp.SWISS_LINK % (
+ info.append((p_temp.SWISS_LINK if event['finished'] else p_temp.SWISS_RUNNING_LINK) % (
event['link'], event_label
))
return '\n'.join(info)