def getUsers(self): uids = [] users = db.hgetall(self.dbid + ":usr") for pid in users: uids.append(users[pid]) return uids
def getColors(self): return db.hgetall(self.dbid + ":clr")