From 95ead3c9d7d4053f32b623988701ed692f55864e Mon Sep 17 00:00:00 2001 From: "Tibor Bossanyi (Freelancer)" Date: Sat, 2 Oct 2021 14:48:00 +0200 Subject: [PATCH] V1.30.8 notification fix --- aitrainer_backoffice/controlling/automation/notification.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aitrainer_backoffice/controlling/automation/notification.py b/aitrainer_backoffice/controlling/automation/notification.py index d9f5cfd..56030fa 100644 --- a/aitrainer_backoffice/controlling/automation/notification.py +++ b/aitrainer_backoffice/controlling/automation/notification.py @@ -22,9 +22,9 @@ class Notification: if hook_sql == None: customers = getattr(hook, hook_function)() else: - print(f'execute {hook_function} with sql {hook_sql}') customers = getattr(hook, hook_function)(hook_sql) + print(f' --- Count of notifying customers: {len(list(customers))} --- ') for customer in customers: if customer.firebase_reg_token != None and customer.customer_id != None: print(f'-- Notify Customer {customer.customer_id}')