mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-25 21:06:23 +08:00
Fix using WIP print statement instead of log
This commit is contained in:
parent
3d970748fd
commit
64a6da8891
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue