changeset 43793 | 29adf0a087a1 |
parent 43633 | 0b7733719d21 |
parent 43742 | 6ff1a0d109c9 |
child 43986 | 71582c5ad00f |
--- a/mercurial/hgweb/hgwebdir_mod.py Tue Dec 03 17:17:57 2019 -0800 +++ b/mercurial/hgweb/hgwebdir_mod.py Thu Dec 05 11:15:19 2019 -0500 @@ -413,7 +413,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]