FIX in config spotted by Jonathan

This commit is contained in:
Fabien Benureau 2013-07-02 16:45:34 +01:00
parent dc73c987c8
commit fc47328cbf

View File

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