1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-12-04 15:12:23 -05:00

Fixed issues caused by new encodingKludge code that was causing errors to be thrown due to function structure being incorrect.

This commit is contained in:
echel0n 2014-11-26 07:48:24 -08:00
parent 1510ac32ca
commit e31db53592

View File

@ -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