branch | stable |
changeset 43742 | 6ff1a0d109c9 |
parent 43106 | d783f945a701 |
child 43793 | 29adf0a087a1 |
--- a/mercurial/hgweb/hgwebdir_mod.py Sat Nov 30 02:38:42 2019 -0500 +++ b/mercurial/hgweb/hgwebdir_mod.py Sat Nov 30 02:53:39 2019 -0500 @@ -412,7 +412,7 @@ static = self.ui.config(b"web", b"static", untrusted=False) if not static: tp = self.templatepath or templater.templatepaths() - if isinstance(tp, str): + if isinstance(tp, bytes): tp = [tp] static = [os.path.join(p, b'static') for p in tp]