예제 #1
0
파일: NewsHandler.py 프로젝트: nah-ko/MBot
 def read_conf(self, ConfObj):
     ''' Getting config options for this handler '''
     self.log.notice("[NewsHandler]: read_conf")
     MailHandler.read_conf(self, ConfObj,
                    ['host', 'db', 'db_user', 'db_pass',
                     'photo_tbl', 'photo_tblsq',
                     'news_tbl', 'news_tblsq',
                     'site', 'attach_path', 'tnx', 'tny'])
예제 #2
0
파일: UrlHandler.py 프로젝트: nah-ko/MBot
 def read_conf(self, ConfObj):
     """ Getting config options for this handler """
     self.log.notice("[UrlHandler]: read_conf")
     MailHandler.read_conf(self, ConfObj, ["mailsize", "attsize"])