mercurial/hgweb/hgweb_mod.py
changeset 37746 b29f490eb904
parent 37514 034a422aeaff
child 37827 11ee9bf24791
--- a/mercurial/hgweb/hgweb_mod.py	Fri Apr 13 22:33:38 2018 -0400
+++ b/mercurial/hgweb/hgweb_mod.py	Fri Apr 13 22:36:54 2018 -0400
@@ -208,7 +208,7 @@
     be multiple active threads inside __call__.
     """
     def __init__(self, repo, name=None, baseui=None):
-        if isinstance(repo, str):
+        if isinstance(repo, bytes):
             if baseui:
                 u = baseui.copy()
             else: