FIX in config spotted by Jonathan

main
Fabien Benureau 12 years ago
parent dc73c987c8
commit fc47328cbf

@ -32,7 +32,7 @@ BOOLEANS = {'import_copy', 'import_move', 'color'}
# from configs import config # from configs import config
_config = None _config = None
def config(section = MAIN_SECTION): def config(section = MAIN_SECTION):
if config is None: if _config is None:
raise ValueError, 'not config instanciated yet' raise ValueError, 'not config instanciated yet'
_config._section = section _config._section = section
return _config return _config

Loading…
Cancel
Save