diff options
author | emkael <emkael@tlen.pl> | 2019-02-23 15:50:45 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-02-23 15:50:45 +0100 |
commit | 879d6c638d37bff77c116aa2d88b91a4f3985fea (patch) | |
tree | ae8d565b7ec0f968b7592ffa22bb2247fbdfb36d | |
parent | c110136e6f99777ae429668a371d6c561e0842b0 (diff) |
Bugfix for configs without finshing indicators configured
-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 ca1905d..e640e03 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 or self.page['finishing_position_indicators'] else '', + self.get_leaderboard_caption_table() if leaderboard_table or ('finishing_position_indicators' in self.page and self.page['finishing_position_indicators']) else '', self.p_temp.get( 'PAGE_BODY_FOOTER', datetime.now().strftime('%Y-%m-%d o %H:%M:%S')))) |