diff options
-rw-r--r-- | SConstruct | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/SConstruct b/SConstruct index 190ef93b9d..705ef4881c 100644 --- a/SConstruct +++ b/SConstruct @@ -193,11 +193,11 @@ for x in module_list: tmppath = "./modules/" + x sys.path.append(tmppath) try: - import config - if (not config.is_enabled()): - module_enabled = False + import config + if (not config.is_enabled()): + module_enabled = False except: - pass + pass sys.path.remove(tmppath) opts.Add(BoolVariable('module_' + x + '_enabled', "Enable module '%s'" % (x, ), module_enabled)) |