diff --git a/tiramisu/i18n.py b/tiramisu/i18n.py index a0cb0af..3bc6c17 100644 --- a/tiramisu/i18n.py +++ b/tiramisu/i18n.py @@ -42,11 +42,6 @@ if lc: languages += DEFAULT_LANG mo_location = LOCALE_DIR - -if sys.version_info[0] >= 3: # pragma: optional cover - gettext.install(True, localedir=None) -else: # pragma: optional cover - gettext.install(True, localedir=None, unicode=1) gettext.find(APP_NAME, mo_location) gettext.textdomain(APP_NAME) gettext.bind_textdomain_codeset(APP_NAME, "UTF-8")