branch | stable |
changeset 43742 | 6ff1a0d109c9 |
parent 43089 | c59eb1560c44 |
child 43793 | 29adf0a087a1 |
--- a/mercurial/hgweb/common.py Sat Nov 30 02:38:42 2019 -0500 +++ b/mercurial/hgweb/common.py Sat Nov 30 02:53:39 2019 -0500 @@ -193,7 +193,7 @@ return fpath = os.path.join(*fname.split(b'/')) - if isinstance(directory, str): + if isinstance(directory, bytes): directory = [directory] for d in directory: path = os.path.join(d, fpath)