aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <kimble.mandel@gmail.com>2013-03-15 08:21:15 +0100
committerCédric Bonhomme <kimble.mandel@gmail.com>2013-03-15 08:21:15 +0100
commitbc40da2b288b1daf2fd2749616a07192ae63f78d (patch)
treef4547144fb775110f3a503cff87a9eb98534a73e
parentReaorganization of folders for the CSS, templates and pictures. (diff)
downloadnewspipe-bc40da2b288b1daf2fd2749616a07192ae63f78d.tar.gz
newspipe-bc40da2b288b1daf2fd2749616a07192ae63f78d.tar.bz2
newspipe-bc40da2b288b1daf2fd2749616a07192ae63f78d.zip
Updated template lookup directory.
-rwxr-xr-xsource/pyAggr3g470r.py4
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
bgstack15