changeset 45235 | 91aa9bba3dc9 |
parent 43985 | 3e4294aa7944 |
child 45237 | 86f9b25d750b |
--- a/mercurial/hgweb/webcommands.py Tue Jul 21 13:05:37 2020 -0700 +++ b/mercurial/hgweb/webcommands.py Tue Jul 21 13:11:49 2020 -0700 @@ -1319,7 +1319,7 @@ # readable by the user running the CGI script static = web.config(b"web", b"static", untrusted=False) if not static: - tp = web.templatepath or templater.templatepaths() + tp = web.templatepath or templater.templatedir() if isinstance(tp, bytes): tp = [tp] static = [os.path.join(p, b'static') for p in tp]