mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] to the real test
This commit is contained in:
parent
c8ce4f843a
commit
ad285937f3
1 changed files with 2 additions and 3 deletions
|
@ -80,10 +80,9 @@ def user_list(auth, fields=None):
|
|||
for user in result:
|
||||
entry = {}
|
||||
for attr, values in user.items():
|
||||
try:
|
||||
if values:
|
||||
entry[user_attrs[attr]] = values[0]
|
||||
except:
|
||||
pass
|
||||
|
||||
uid = entry[user_attrs['uid']]
|
||||
users[uid] = entry
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue