hgext/win32mbcs.py
branchstable
changeset 43743 66210a20f727
parent 43117 8ff1ecfadcd1
child 45942 89a2afe31e82
--- a/hgext/win32mbcs.py	Sat Nov 30 02:53:39 2019 -0500
+++ b/hgext/win32mbcs.py	Sat Nov 30 02:59:04 2019 -0500
@@ -77,7 +77,7 @@
 
 
 def decode(arg):
-    if isinstance(arg, str):
+    if isinstance(arg, bytes):
         uarg = arg.decode(_encoding)
         if arg == uarg.encode(_encoding):
             return uarg