diff options
author | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-03-15 08:21:15 +0100 |
---|---|---|
committer | Cédric Bonhomme <kimble.mandel@gmail.com> | 2013-03-15 08:21:15 +0100 |
commit | bc40da2b288b1daf2fd2749616a07192ae63f78d (patch) | |
tree | f4547144fb775110f3a503cff87a9eb98534a73e /source | |
parent | Reaorganization of folders for the CSS, templates and pictures. (diff) | |
download | newspipe-bc40da2b288b1daf2fd2749616a07192ae63f78d.tar.gz newspipe-bc40da2b288b1daf2fd2749616a07192ae63f78d.tar.bz2 newspipe-bc40da2b288b1daf2fd2749616a07192ae63f78d.zip |
Updated template lookup directory.
Diffstat (limited to 'source')
-rwxr-xr-x | source/pyAggr3g470r.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |