def read_config(self): fileName, coreFile, moduleFile, GUI = self.parameters; botinfo.bot_info.update(botinfo.read_config("core", coreFile)) botinfo.bot_info.update(botinfo.read_config("modules", moduleFile))
def read_config(self, event): botinfo.bot_info.update(botinfo.read_config("core", self.coreFile)) botinfo.bot_info.update(botinfo.read_config("modules", self.moduleFile))