Commit aa50da05 authored by Philipp Hörist's avatar Philipp Hörist

Fix gettext not supporting Pathlib yet

parent f10f7d27
......@@ -150,7 +150,7 @@ if == 'nt':
# Search for the translation in all locale dirs
for dir_ in iter_locale_dirs():
_translation = gettext.translation(DOMAIN, dir_)
_translation = gettext.translation(DOMAIN, str(dir_))
_ = _translation.gettext
except OSError:
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