diff options
Diffstat (limited to 'release/scripts/modules/bl_i18n_utils/update_pot.py')
-rwxr-xr-x | release/scripts/modules/bl_i18n_utils/update_pot.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/release/scripts/modules/bl_i18n_utils/update_pot.py b/release/scripts/modules/bl_i18n_utils/update_pot.py index 58c924cade4..ca5d156be9b 100755 --- a/release/scripts/modules/bl_i18n_utils/update_pot.py +++ b/release/scripts/modules/bl_i18n_utils/update_pot.py @@ -31,8 +31,11 @@ import argparse import time import pickle -import settings -import utils +try: + import settings + import utils +except: + from . import (settings, utils) COMMENT_PREFIX = settings.COMMENT_PREFIX |