mercurial/hgweb/protocol.py
changeset 34510 c23fa3103925
parent 34509 e21f274cccea
child 34740 b2601c5977a4
--- a/mercurial/hgweb/protocol.py	Thu Oct 05 14:12:51 2017 -0400
+++ b/mercurial/hgweb/protocol.py	Thu Oct 05 14:13:20 2017 -0400
@@ -164,7 +164,7 @@
                 yield chunk
 
     rsp = wireproto.dispatch(repo, p, cmd)
-    if isinstance(rsp, str):
+    if isinstance(rsp, bytes):
         req.respond(HTTP_OK, HGTYPE, body=rsp)
         return []
     elif isinstance(rsp, wireproto.streamres):