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