From 1b4669bb2f573cebf9cadfadd47766d0d2046b1a Mon Sep 17 00:00:00 2001 From: Patrick Speiser Date: Fri, 28 Sep 2012 16:34:38 +0200 Subject: [PATCH] Stop cherrypy from complaining about a relative favicon path --- headphones/webstart.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headphones/webstart.py b/headphones/webstart.py index b16d6765..0472a033 100644 --- a/headphones/webstart.py +++ b/headphones/webstart.py @@ -56,7 +56,7 @@ def initialize(options={}): }, '/favicon.ico':{ 'tools.staticfile.on': True, - 'tools.staticfile.filename': "images/favicon.ico" + 'tools.staticfile.filename': os.path.join(os.path.abspath(os.curdir),"images" + os.sep + "favicon.ico") }, '/cache':{ 'tools.staticdir.on': True,