From 64a6da8891160ea071bab630b96b91fe7f16e0d2 Mon Sep 17 00:00:00 2001 From: Orsiris de Jong Date: Wed, 1 Feb 2023 19:32:41 +0100 Subject: [PATCH] Fix using WIP print statement instead of log --- npbackup/core/i18n_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npbackup/core/i18n_helper.py b/npbackup/core/i18n_helper.py index a4024cb..fb4e512 100644 --- a/npbackup/core/i18n_helper.py +++ b/npbackup/core/i18n_helper.py @@ -36,7 +36,7 @@ except ValueError: try: i18n.load_path.append(TRANSLATIONS_DIR) except OSError as exc: - print("Cannot load translations: {}".format(exc)) + logger.error("Cannot load translations: {}".format(exc)) i18n.set("locale", _locale) i18n.set("fallback", "en")