Fix py3 fix

This commit is contained in:
2015-12-24 12:52:33 +05:30
parent 43f875e18c
commit 9d3283ce5e
+2 -2
View File
@@ -50,9 +50,9 @@ def s(input_):
try:
if PY3:
assert(type(input_) in [str, unicode, bytes])
else:
assert(type(input_) in [str, bytes])
else:
assert(type(input_) in [str, unicode, bytes])
except AssertionError:
return input_