示例#1
0
文件: gui.py 项目: mbriden/FatbotIRC
 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))
示例#2
0
 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))