diff options
Diffstat (limited to 'jfr_playoff/generator.py')
-rw-r--r-- | jfr_playoff/generator.py | 5 |
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', |