aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--css/img/favicon.pngbin0 -> 6879 bytes
-rwxr-xr-xpyAggr3g470r.py3
2 files changed, 3 insertions, 0 deletions
diff --git a/css/img/favicon.png b/css/img/favicon.png
new file mode 100644
index 00000000..d4d38473
--- /dev/null
+++ b/css/img/favicon.png
Binary files 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..."
bgstack15