Browse Source

Update gitignore and fix comment styling in admidio.py

master
Rick 6 years ago
parent
commit
2735475eb8
2 changed files with 5 additions and 2 deletions
  1. +1
    -0
      .gitignore
  2. +4
    -2
      admidio.py

+ 1
- 0
.gitignore View File

@ -95,3 +95,4 @@ ENV/
.ropeproject
.vscode/settings.json
config.py

+ 4
- 2
admidio.py View File

@ -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:


Loading…
Cancel
Save