Indentation Error
TabError: inconsistent use of tabs and spaces in indentation was fixed
This commit is contained in:
parent
1b358783ce
commit
eaa965d5ef
|
@ -193,11 +193,11 @@ for x in module_list:
|
||||||
tmppath = "./modules/" + x
|
tmppath = "./modules/" + x
|
||||||
sys.path.append(tmppath)
|
sys.path.append(tmppath)
|
||||||
try:
|
try:
|
||||||
import config
|
import config
|
||||||
if (not config.is_enabled()):
|
if (not config.is_enabled()):
|
||||||
module_enabled = False
|
module_enabled = False
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
sys.path.remove(tmppath)
|
sys.path.remove(tmppath)
|
||||||
opts.Add(BoolVariable('module_' + x + '_enabled', "Enable module '%s'" % (x, ), module_enabled))
|
opts.Add(BoolVariable('module_' + x + '_enabled', "Enable module '%s'" % (x, ), module_enabled))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue