From 4d9a34d7a38533e9ff9808b83b011b3a00bde68f Mon Sep 17 00:00:00 2001 From: emkael Date: Thu, 25 Jul 2019 15:31:20 +0200 Subject: Attaching favicon to results pages Fixes #6 --- ausbutler/interface.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'ausbutler') diff --git a/ausbutler/interface.py b/ausbutler/interface.py index b3d7c21..d79686d 100644 --- a/ausbutler/interface.py +++ b/ausbutler/interface.py @@ -149,7 +149,8 @@ class Interface(object): 'prefix': Constants.shortname, 'round_no': round_no, 'segment_no': segment_no, - 'first_board': first_board + 'first_board': first_board, + 'favicon': Constants.favicon }).encode('utf8') ) files.append(filename) @@ -209,7 +210,8 @@ class Interface(object): first_board + Constants.boardspersegment ), 'date': datetime.now().strftime('%Y-%m-%d'), - 'time': datetime.now().strftime('%H:%M') + 'time': datetime.now().strftime('%H:%M'), + 'favicon': Constants.favicon }).encode('utf8') ) files.append(filename) @@ -290,7 +292,8 @@ class Interface(object): 'above_threshold': above_threshold, 'below_threshold': below_threshold, 'date': datetime.now().strftime('%Y-%m-%d'), - 'time': datetime.now().strftime('%H:%M') + 'time': datetime.now().strftime('%H:%M'), + 'favicon': Constants.favicon }).encode('utf8') ) return [filename] -- cgit v1.2.3