diff options
author | Michael Weiser <michael.weiser@gmx.de> | 2019-04-08 15:17:53 +0000 |
---|---|---|
committer | Michael Weiser <michael.weiser@gmx.de> | 2019-04-08 16:51:18 +0000 |
commit | a383e1b7d9e816991a36ba23e5d22f85d2a6d387 (patch) | |
tree | 74d0f4d4ae2055021e60aa76454ee12538991ec8 /peekaboo/queuing.py | |
parent | 640bc1ad05467e0c9974c8fd1a0976b03d473a1e (diff) |
Force gettext to use unicode on python2
On python2 gettext returns str() which is not unicode() there and causes
those feared encoding errors if anything formatted into those translated
strings is not ascii. Force gettext to return unicode strings but only
on python2 because it's default on python3 anyway and the respective
parameters doesn't exist there.
Diffstat (limited to 'peekaboo/queuing.py')
0 files changed, 0 insertions, 0 deletions