diff options
author | emkael <emkael@tlen.pl> | 2018-02-20 22:59:46 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2018-02-20 22:59:46 +0100 |
commit | 95270b1f32ff946879cc9d8d7d4fe5f33b3a2868 (patch) | |
tree | 662e5126f2b97394b90e72cd15d1c7e97dd48943 /jfr_playoff/generator.py | |
parent | 7baf404cfb4733c6512978dc011090fc0230744b (diff) |
If swiss is still not finished, display a running link
Diffstat (limited to 'jfr_playoff/generator.py')
-rw-r--r-- | jfr_playoff/generator.py | 2 |
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) |