From 879d6c638d37bff77c116aa2d88b91a4f3985fea Mon Sep 17 00:00:00 2001 From: emkael Date: Sat, 23 Feb 2019 15:50:45 +0100 Subject: Bugfix for configs without finshing indicators configured --- jfr_playoff/generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')))) -- cgit v1.2.3