Merge pull request #11769 from neogaston/patch-2

Indentation Error
This commit is contained in:
Poommetee Ketson 2017-10-02 13:24:22 +07:00 committed by GitHub
commit 3d75b210b5

View file

@ -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))