def load_config(filename):
    """ Read config file specified by `filename`
    
    Parameters
    ----------
    filename : str
        Description of filename
    """
    package_path = ding0.__path__[0]
    FILE = path.join(package_path, 'config', filename)

    try:
        cfg.read(FILE)
        global _loaded
        _loaded = True
    except:
        logger.exception("configfile not found.")
def load_config ( filename ) : package_path = ding0 . __path__ [ 0 ] FILE = path . join ( package_path , 'config' , filename ) try : cfg . read ( FILE ) global _loaded _loaded = True except : logger . exception ( "configfile not found." )
Read config file specified by `filename`
    
    Parameters
    ----------
    filename : str
        Description of filename