Example #1
0
def load():
    global CONF
    config = configparser.SafeConfigParser()

    if not find_config_files():
        init_user()
    config.read(find_config_files()[0])
    CONF = config
    return CONF
Example #2
0
def load():
    global CONF
    config = ConfigParser.SafeConfigParser()
    config.read(find_config_files()[0])
    CONF = config
    return CONF
Example #3
0
def load():
    global CONF
    config = ConfigParser.SafeConfigParser()
    config.read(find_config_files()[0])
    CONF = config
    return CONF