diff options
-rw-r--r-- | css/img/favicon.png | bin | 0 -> 6879 bytes | |||
-rwxr-xr-x | pyAggr3g470r.py | 3 |
2 files changed, 3 insertions, 0 deletions
diff --git a/css/img/favicon.png b/css/img/favicon.png Binary files differnew file mode 100644 index 00000000..d4d38473 --- /dev/null +++ b/css/img/favicon.png 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..." |