summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-01-12 16:52:31 +0100
committeremkael <emkael@tlen.pl>2019-01-12 16:52:31 +0100
commit59a7c989c4266205438ddb9a03e71aa2a21886c8 (patch)
tree156c5095190e82d254406dfc9855155db363990c
parent7a654d9a863a6982089bad3c5fc672b3255a20d6 (diff)
Show leaderboard style captions if finishing position indicators are enabled
-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 8bdb2d8..1726a01 100644
--- a/jfr_playoff/generator.py
+++ b/jfr_playoff/generator.py
@@ -47,7 +47,7 @@ class PlayoffGenerator(object):
match_grid,
self.get_swiss_links(),
leaderboard_table,
- self.get_leaderboard_caption_table() if leaderboard_table else '',
+ self.get_leaderboard_caption_table() if leaderboard_table or self.page['finishing_position_indicators'] else '',
self.p_temp.get(
'PAGE_BODY_FOOTER',
datetime.now().strftime('%Y-%m-%d o %H:%M:%S'))))