|
|
@ -43,8 +43,10 @@ class Admidio: |
|
|
|
self.groups[row[0]] = group.Group(self.db, row[0], row[1], self) |
|
|
|
|
|
|
|
def getMemberFromID(self, user_id): |
|
|
|
"""Returns Member object if user_id exists,""" \ |
|
|
|
""" otherwise throws MemberNotFoundException""" |
|
|
|
""" |
|
|
|
Returns Member object if user_id exists |
|
|
|
otherwise throws MemberNotFoundException |
|
|
|
""" |
|
|
|
if user_id in self.members: |
|
|
|
return self.members[user_id] |
|
|
|
else: |
|
|
|