summaryrefslogtreecommitdiff
path: root/jfr_playoff/generator.py
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-11-16 21:03:51 +0100
committeremkael <emkael@tlen.pl>2019-11-16 21:03:51 +0100
commit3622411f59b7708c6fd5d7c8a0c4cfb87fb06b87 (patch)
treef879a97238074c2325566b9d452fae573715a893 /jfr_playoff/generator.py
parentbf96dd0cfa0da5080c33852a2a2af55b12030825 (diff)
parent5102c3129292d1baa3c8d8ecc88552e7a3198867 (diff)
Merge branch 'master' into gui
Diffstat (limited to 'jfr_playoff/generator.py')
-rw-r--r--jfr_playoff/generator.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/jfr_playoff/generator.py b/jfr_playoff/generator.py
index e640e03..f2dc22b 100644
--- a/jfr_playoff/generator.py
+++ b/jfr_playoff/generator.py
@@ -10,6 +10,7 @@ class PlayoffGenerator(object):
def __init__(self, settings):
self.data = PlayoffData(settings)
self.page = settings.get('page')
+ print self.page.get('favicon')
PlayoffLogger.get('generator').info(
'page settings: %s', self.page)
self.team_box_settings = self.page.get('team_boxes', {})
@@ -40,6 +41,10 @@ class PlayoffGenerator(object):
'PAGE_HEAD_REFRESH',
self.page['refresh']) \
if self.page['refresh'] > 0 else '',
+ self.p_temp.get(
+ 'PAGE_HEAD_FAVICON',
+ self.page['favicon']) \
+ if len(self.page.get('favicon', '')) else '',
self.page['title']),
self.p_temp.get(
'PAGE_BODY',