From 44e12db8220b97c61d6cd311439e6249d1f24589 Mon Sep 17 00:00:00 2001 From: cedricbonhomme Date: Fri, 25 Feb 2011 13:32:58 +0100 Subject: Added favicon.png --- css/img/favicon.png | Bin 0 -> 6879 bytes pyAggr3g470r.py | 3 +++ 2 files changed, 3 insertions(+) create mode 100644 css/img/favicon.png diff --git a/css/img/favicon.png b/css/img/favicon.png new file mode 100644 index 00000000..d4d38473 Binary files /dev/null and b/css/img/favicon.png differ diff --git a/pyAggr3g470r.py b/pyAggr3g470r.py index 40214fa5..9015a2b0 100755 --- a/pyAggr3g470r.py +++ b/pyAggr3g470r.py @@ -34,6 +34,7 @@ import calendar import threading from collections import Counter +from cherrypy.lib.static import serve_file import utils import feedgetter @@ -1232,6 +1233,8 @@ if __name__ == '__main__': print "Launching pyAggr3g470r..." LOCKER = threading.Lock() root = Root() + root.favicon_ico = cherrypy.tools.staticfile.handler(filename=os.path.join(utils.path + "/css/img/favicon.png")) + print os.path.join(utils.path + "/css/img/favicon.png") if not os.path.isfile(utils.sqlite_base): # create the SQLite base if not exists print "Creating data base..." -- cgit