diff options
Diffstat (limited to 'release/scripts/textplugin_imports.py')
-rw-r--r-- | release/scripts/textplugin_imports.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/textplugin_imports.py b/release/scripts/textplugin_imports.py index dd98ab7a26e..16d27ac1004 100644 --- a/release/scripts/textplugin_imports.py +++ b/release/scripts/textplugin_imports.py @@ -8,13 +8,13 @@ Tooltip: 'Lists modules when import or from is typed' """ # Only run if we have the required modules -OK = False try: import bpy, sys from BPyTextPlugin import * - OK = True except ImportError: - pass + OK = False +else: + OK = True def main(): txt = bpy.data.texts.active |