main.py: debug on gives user info
This commit is contained in:
parent
99594dbe49
commit
325512121c
1 changed files with 2 additions and 1 deletions
3
main.py
3
main.py
|
@ -65,7 +65,8 @@ for user_info in authentik_get_users():
|
||||||
|
|
||||||
try:
|
try:
|
||||||
subscriber_info = listmonk_get_subscriber(user_info['username'])
|
subscriber_info = listmonk_get_subscriber(user_info['username'])
|
||||||
print(subscriber_info)
|
if debug:
|
||||||
|
print(subscriber_info)
|
||||||
|
|
||||||
# if get user info fails, assume that we have to create a new one
|
# if get user info fails, assume that we have to create a new one
|
||||||
# TOOD: only create if the error is indeed user-existence related
|
# TOOD: only create if the error is indeed user-existence related
|
||||||
|
|
Loading…
Reference in a new issue