changeset 45199 | 91aa9bba3dc9 |
parent 44245 | bf23d6ee7ec7 |
child 45201 | 86f9b25d750b |
--- a/mercurial/hgweb/hgwebdir_mod.py Tue Jul 21 13:05:37 2020 -0700 +++ b/mercurial/hgweb/hgwebdir_mod.py Tue Jul 21 13:11:49 2020 -0700 @@ -414,7 +414,7 @@ fname = req.qsparams[b'static'] static = self.ui.config(b"web", b"static", untrusted=False) if not static: - tp = self.templatepath or templater.templatepaths() + tp = self.templatepath or templater.templatedir() if isinstance(tp, bytes): tp = [tp] static = [os.path.join(p, b'static') for p in tp]