Commit 7d8a2f28 authored by Recteur LP's avatar Recteur LP

fix else indent

parent 5aa56fe1
......@@ -90,7 +90,7 @@ class auth():
if "attributes" in entry:
attrs = entry['attributes']
users.append({ "name": attrs.get('sAMAccountName', [ 'Guest' ])[0], "uid": attrs.get('uidNumber', [ 'None' ])[0] })
else:
else:
for dn, attrs in self.__getresults(group):
users.append({ "name": attrs.get('sAMAccountName', [ 'Guest' ])[0], "uid": attrs.get('uidNumber', [ 'None' ])[0] })
return users
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment