예제 #1
0
파일: tikkle.py 프로젝트: zod/pyhkal
 def __init__(self,head):
     IRCBotMod.__init__(self,head)
     self.handleInput = self.handler
     try:
         self.tikklers = file2obj(self.filename)
     except Exception:
         self.tikklers = {}
예제 #2
0
파일: karma.py 프로젝트: zod/pyhkal
 def __init__(self,head):
     IRCBotMod.__init__(self,head)
     self.handleInput = self.handler
     try:
         self.karmadict = file2obj(self.filename)
     except IOError:
         self.karmadict = {}
예제 #3
0
파일: tikkle.py 프로젝트: freddyb/pyhkal
 def importconf(self):
     try:
         (self.tikklers) = file2obj(self.configfilename)
     except IOError:
         self.tikklers = {}
예제 #4
0
파일: randquote.py 프로젝트: freddyb/pyhkal
 def importconf(self):
     try:
         (self.quotedict) = file2obj(self.configfilename)
     except IOError:
         self.quotedict = {}
예제 #5
0
파일: factoid.py 프로젝트: shrykull/pyhkal
 def importconf(self):
     try:
         (self.factoids) = file2obj(self.configfilename)
     except IOError:
         self.factoids = []
예제 #6
0
파일: admin.py 프로젝트: freddyb/pyhkal
 def importconf(self):
     try:
         (self.adminpass) = file2obj(self.configfilename)
     except IOError:
         self.adminpass = "******"