Skip None in the user list
Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
parent
122c4c8a1c
commit
8a608cd880
1 changed files with 3 additions and 0 deletions
|
@ -108,6 +108,9 @@ def main():
|
|||
output = {}
|
||||
|
||||
for user in users:
|
||||
if not user:
|
||||
continue
|
||||
|
||||
temp = {}
|
||||
temp['user_info'] = user.to_json(public=False)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue