mercurial/hgweb/webcommands.py
changeset 22634 e48a5d3996c2
parent 22199 b3e51675f98e
child 23232 a0ccb66f344d
--- a/mercurial/hgweb/webcommands.py	Sun Sep 28 16:57:06 2014 +0200
+++ b/mercurial/hgweb/webcommands.py	Sun Sep 28 16:57:37 2014 +0200
@@ -933,7 +933,7 @@
     # readable by the user running the CGI script
     static = web.config("web", "static", None, untrusted=False)
     if not static:
-        tp = web.templatepath or templater.templatepath()
+        tp = web.templatepath or templater.templatepaths()
         if isinstance(tp, str):
             tp = [tp]
         static = [os.path.join(p, 'static') for p in tp]