Esempio n. 1
0
File: tikkle.py Progetto: zod/pyhkal
 def __init__(self,head):
     IRCBotMod.__init__(self,head)
     self.handleInput = self.handler
     try:
         self.tikklers = file2obj(self.filename)
     except Exception:
         self.tikklers = {}
Esempio n. 2
0
File: karma.py Progetto: zod/pyhkal
 def __init__(self,head):
     IRCBotMod.__init__(self,head)
     self.handleInput = self.handler
     try:
         self.karmadict = file2obj(self.filename)
     except IOError:
         self.karmadict = {}
Esempio n. 3
0
 def importconf(self):
     try:
         (self.tikklers) = file2obj(self.configfilename)
     except IOError:
         self.tikklers = {}
Esempio n. 4
0
 def importconf(self):
     try:
         (self.quotedict) = file2obj(self.configfilename)
     except IOError:
         self.quotedict = {}
Esempio n. 5
0
 def importconf(self):
     try:
         (self.factoids) = file2obj(self.configfilename)
     except IOError:
         self.factoids = []
Esempio n. 6
0
 def importconf(self):
     try:
         (self.adminpass) = file2obj(self.configfilename)
     except IOError:
         self.adminpass = "******"