diff options
Diffstat (limited to 'release/scripts/modules/bl_i18n_utils/clean_po.py')
-rwxr-xr-x | release/scripts/modules/bl_i18n_utils/clean_po.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/release/scripts/modules/bl_i18n_utils/clean_po.py b/release/scripts/modules/bl_i18n_utils/clean_po.py index 7e91b41065c..f0b8dd6b1d2 100755 --- a/release/scripts/modules/bl_i18n_utils/clean_po.py +++ b/release/scripts/modules/bl_i18n_utils/clean_po.py @@ -25,10 +25,13 @@ import os import sys import collections -from codecs import open -import settings -import utils +try: + import settings + import utils +except: + from . import (settings, utils) + TRUNK_PO_DIR = settings.TRUNK_PO_DIR BRANCHES_DIR = settings.BRANCHES_DIR |