Skip to content
Snippets Groups Projects
Commit 8212b741 authored by Davide Vaghetti's avatar Davide Vaghetti
Browse files

Added check for status (6 == participant)

parent a95c5b2f
No related branches found
No related tags found
1 merge request!8Master
This commit is part of merge request !8. Comments created here will be created in the context of that merge request.
......@@ -15,6 +15,7 @@ feds_dict = feds.json()
print('#NAME,EMAIL')
for fed in feds_dict:
if 'security_contact' in feds_dict[fed]:
if 'mail' in feds_dict[fed]['security_contact']:
print(f"{fed},{feds_dict[fed]['security_contact']['mail']['value']}")
if feds_dict[fed]['status'] == '6':
if 'security_contact' in feds_dict[fed]:
if 'mail' in feds_dict[fed]['security_contact']:
print(f"{fed},{feds_dict[fed]['security_contact']['mail']['value']}")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment