mercurial/hgweb/hgwebdir_mod.py
changeset 22634 e48a5d3996c2
parent 22087 af62f0280a76
child 25083 ef36536abea3
child 25396 78e8890cfb4b
--- a/mercurial/hgweb/hgwebdir_mod.py	Sun Sep 28 16:57:06 2014 +0200
+++ b/mercurial/hgweb/hgwebdir_mod.py	Sun Sep 28 16:57:37 2014 +0200
@@ -193,7 +193,7 @@
                     static = self.ui.config("web", "static", None,
                                             untrusted=False)
                     if not static:
-                        tp = self.templatepath or templater.templatepath()
+                        tp = self.templatepath or templater.templatepaths()
                         if isinstance(tp, str):
                             tp = [tp]
                         static = [os.path.join(p, 'static') for p in tp]