Show More
@@ -77,7 +77,7 b' configitem(' | |||||
77 |
|
77 | |||
78 |
|
78 | |||
79 | def decode(arg): |
|
79 | def decode(arg): | |
80 |
if isinstance(arg, |
|
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