Commit e31db535 authored by echel0n's avatar echel0n

Fixed issues caused by new encodingKludge code that was causing errors to be...

Fixed issues caused by new encodingKludge code that was causing errors to be thrown due to function structure being incorrect.
parent 1510ac32
......@@ -32,11 +32,11 @@ def ex(e):
if arg is not None:
if isinstance(arg, (str, unicode)):
fixed_arg = toUnicode(arg, True)
fixed_arg = toUnicode(arg)
else:
try:
fixed_arg = u"error " + toUnicode(str(arg), True)
fixed_arg = u"error " + toUnicode(str(arg))
except:
fixed_arg = None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment