##// END OF EJS Templates
win32mbcs: fix a `str` type conditional for py3...
Matt Harbison -
r44181:66210a20 stable
parent child Browse files
Show More
@@ -77,7 +77,7 b' configitem('
77
77
78
78
79 def decode(arg):
79 def decode(arg):
80 if isinstance(arg, str):
80 if isinstance(arg, bytes):
81 uarg = arg.decode(_encoding)
81 uarg = arg.decode(_encoding)
82 if arg == uarg.encode(_encoding):
82 if arg == uarg.encode(_encoding):
83 return uarg
83 return uarg
General Comments 0
You need to be logged in to leave comments. Login now