main.py: do all checks when creating new subscriber
This commit is contained in:
parent
3b07155f20
commit
cc9d07344c
1 changed files with 0 additions and 1 deletions
1
main.py
1
main.py
|
@ -116,7 +116,6 @@ for user_info in authentik_get_users():
|
||||||
print('> Failed to find username, creating subscriber')
|
print('> Failed to find username, creating subscriber')
|
||||||
create_resp = listmonk_create_subscriber(user_info['email'], user_info['username'], status=user_active)
|
create_resp = listmonk_create_subscriber(user_info['email'], user_info['username'], status=user_active)
|
||||||
print(create_resp)
|
print(create_resp)
|
||||||
continue
|
|
||||||
|
|
||||||
# checks if user email matches subscriber email
|
# checks if user email matches subscriber email
|
||||||
if user_info['email'] != subscriber_info['email']:
|
if user_info['email'] != subscriber_info['email']:
|
||||||
|
|
Loading…
Reference in a new issue