From bc40da2b288b1daf2fd2749616a07192ae63f78d Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Fri, 15 Mar 2013 08:21:15 +0100 Subject: Updated template lookup directory. --- source/pyAggr3g470r.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source') diff --git a/source/pyAggr3g470r.py b/source/pyAggr3g470r.py index 41e44be0..c90dfcb4 100755 --- a/source/pyAggr3g470r.py +++ b/source/pyAggr3g470r.py @@ -51,7 +51,7 @@ from collections import defaultdict import cherrypy from mako.template import Template from mako.lookup import TemplateLookup -lookup = TemplateLookup(directories=['templates']) +lookup = TemplateLookup(directories=['static/templates']) import conf import utils @@ -689,6 +689,6 @@ class pyAggr3g470r(object): if __name__ == '__main__': # Point of entry in execution mode root = pyAggr3g470r() - root.favicon_ico = cherrypy.tools.staticfile.handler(filename=os.path.join(conf.path + "/img/favicon.png")) + root.favicon_ico = cherrypy.tools.staticfile.handler(filename=os.path.join(conf.path + "static/img/favicon.png")) cherrypy.config.update({'error_page.404': error_404}) cherrypy.quickstart(root, "/" ,config=conf.path + "/cfg/cherrypy.cfg") \ No newline at end of file -- cgit