mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Another fix for b46a0dd6a2
.
This commit is contained in:
parent
f3ecc33678
commit
e3acc03fd6
@ -453,9 +453,6 @@ def format(s, *args, **kwargs):
|
||||
return token
|
||||
elif sys.version_info[0] < 3 and isinstance(token, unicode):
|
||||
return token.encode('utf8', 'replace')
|
||||
else:
|
||||
if sys.version_info[0] < 3:
|
||||
return str(token).decode('utf-8','replace')
|
||||
else:
|
||||
return str(token)
|
||||
elif char == 'i':
|
||||
|
Loading…
Reference in New Issue
Block a user