예제 #1
0
파일: channels.py 프로젝트: buzzworkers/tl
    def __init__(self, fname):

        # call base constructor
        Pdod.__init__(self, fname)

        # make sure attributes are initialised
        for j in list(self.data.values()):
            if 'perms' not in j:
                j['perms'] = []
            if 'autovoice' not in j:
                j['autovoice'] = 0
예제 #2
0
파일: nickserv.py 프로젝트: buzzworkers/tl
 def __init__(self):
     self.registered = False
     Pdod.__init__(self, getdatadir() + os.sep + 'plugs' + os.sep + 'tl.plugs.nickserv' + os.sep + 'nickserv')
예제 #3
0
 def __init__(self):
     Pdod.__init__(self, os.path.join(getdatadir(), 'plugs', 'tl.plugs.extra.bugtracker', 'trackers'))
     self.load()
예제 #4
0
파일: mpd.py 프로젝트: buzzworkers/tl
 def __init__(self):
     Pdod.__init__(self, os.path.join(getdatadir() + os.sep + 'plugs' + os.sep + 'tl.plugs.sockets.mpd', 'mpd'))
     self.running = False
     self.lastsong = -1
예제 #5
0
파일: seen.py 프로젝트: buzzworkers/tl
 def __init__(self):
     self.datadir = os.path.join(getdatadir(), "plugs", "tl.plugs.extra.seen")
     Pdod.__init__(self, os.path.join(self.datadir, "seen.data"))