diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2012-07-08 21:10:10 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2012-07-08 21:10:10 +0400 |
commit | dc459c8fea37ea3f86bc1cad2d83dd9ef3f29491 (patch) | |
tree | 29b25fa9b96fb1169947035a92984541fef947dc /release/scripts/modules/bl_i18n_utils/update_msg.py | |
parent | 0c7b56cf39b0b0ac38ad9813a7d43b7098c891fd (diff) |
Some cleanup, and update to make those files usable both as self-executables and module stuff...
Also updated update_mo to allwo specifying a custom po/mo file.
Diffstat (limited to 'release/scripts/modules/bl_i18n_utils/update_msg.py')
-rwxr-xr-x | release/scripts/modules/bl_i18n_utils/update_msg.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/release/scripts/modules/bl_i18n_utils/update_msg.py b/release/scripts/modules/bl_i18n_utils/update_msg.py index e5154632cfe..c1b0d636655 100755 --- a/release/scripts/modules/bl_i18n_utils/update_msg.py +++ b/release/scripts/modules/bl_i18n_utils/update_msg.py @@ -26,7 +26,10 @@ import os import sys import subprocess -import settings +try: + import settings +except: + from . import settings BLENDER_ARGS = [ |