Exemple #1
0
 def __init__(self, appdata, cnf={}):
     self.config = RIFF_Config()
     config_file = os.path.join(appdata.app_config_dir, 'riff_config.xml')
     self.config.load(config_file)
     self.config.update(cnf)
     self.appdata = appdata
     self.loader = RIFF_Loader()
     self.saver = RIFF_Saver()
     self.new()