Fix using WIP print statement instead of log

This commit is contained in:
Orsiris de Jong 2023-02-01 19:32:41 +01:00
parent 3d970748fd
commit 64a6da8891

View file

@ -36,7 +36,7 @@ except ValueError:
try: try:
i18n.load_path.append(TRANSLATIONS_DIR) i18n.load_path.append(TRANSLATIONS_DIR)
except OSError as exc: except OSError as exc:
print("Cannot load translations: {}".format(exc)) logger.error("Cannot load translations: {}".format(exc))
i18n.set("locale", _locale) i18n.set("locale", _locale)
i18n.set("fallback", "en") i18n.set("fallback", "en")