aboutsummaryrefslogtreecommitdiff
path: root/pyAggr3g470r.py
diff options
context:
space:
mode:
authorcedricbonhomme <devnull@localhost>2011-02-25 13:32:58 +0100
committercedricbonhomme <devnull@localhost>2011-02-25 13:32:58 +0100
commit44e12db8220b97c61d6cd311439e6249d1f24589 (patch)
tree58950e5a21156ed0f74a9acb6d48de7c1970b07f /pyAggr3g470r.py
parentImprovement on the feed page. Tag cloud of the most frequent words of a feed. (diff)
downloadnewspipe-44e12db8220b97c61d6cd311439e6249d1f24589.tar.gz
newspipe-44e12db8220b97c61d6cd311439e6249d1f24589.tar.bz2
newspipe-44e12db8220b97c61d6cd311439e6249d1f24589.zip
Added favicon.png
Diffstat (limited to 'pyAggr3g470r.py')
-rwxr-xr-xpyAggr3g470r.py3
1 files changed, 3 insertions, 0 deletions
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