mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
src/i18n.py: Use 'str' as a base class instead of 'unicode'.
This commit is contained in:
parent
041893aaf9
commit
089be4c8a5
@ -330,7 +330,7 @@ class internationalizedFunction:
|
||||
def __call__(self, *args, **kwargs):
|
||||
return self._origin(*args, **kwargs)
|
||||
|
||||
class internationalizedString(unicode):
|
||||
class internationalizedString(str):
|
||||
"""Simple subclass to str, that allow to add attributes. Also used to
|
||||
know if a string is already localized"""
|
||||
pass
|
||||
|
Loading…
Reference in New Issue
Block a user