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
def __init__(self): self.registered = False Pdod.__init__(self, getdatadir() + os.sep + 'plugs' + os.sep + 'tl.plugs.nickserv' + os.sep + 'nickserv')
def __init__(self): Pdod.__init__(self, os.path.join(getdatadir(), 'plugs', 'tl.plugs.extra.bugtracker', 'trackers')) self.load()
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
def __init__(self): self.datadir = os.path.join(getdatadir(), "plugs", "tl.plugs.extra.seen") Pdod.__init__(self, os.path.join(self.datadir, "seen.data"))