From 325512121c4890b9478bef4f84e023844bcef4e2 Mon Sep 17 00:00:00 2001 From: Antoine Martin Date: Fri, 1 Mar 2024 22:36:02 -0500 Subject: [PATCH] main.py: debug on gives user info --- main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 24288a8..8281c53 100755 --- a/main.py +++ b/main.py @@ -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