main.py: debug on gives user info

This commit is contained in:
Antoine Martin 2024-03-01 22:36:02 -05:00
parent 99594dbe49
commit 325512121c
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -65,7 +65,8 @@ for user_info in authentik_get_users():
try:
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
# TOOD: only create if the error is indeed user-existence related