From 60927674ee11548f0c7c23ccb9e5be66a90cc00a Mon Sep 17 00:00:00 2001 From: "Tibor Bossanyi (Freelancer)" Date: Tue, 9 Nov 2021 21:22:25 +0100 Subject: [PATCH] BO 1.32+2 fcm fix --- aitrainer_backoffice/controlling/automation/fcm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aitrainer_backoffice/controlling/automation/fcm.py b/aitrainer_backoffice/controlling/automation/fcm.py index ba571af..65b31fd 100644 --- a/aitrainer_backoffice/controlling/automation/fcm.py +++ b/aitrainer_backoffice/controlling/automation/fcm.py @@ -55,7 +55,7 @@ class FCM: return "Registration token is null" try: - if image_url == None: + if image_url == None or self.image_base == None: notification_image_url = self.logo_url else: notification_image_url = self.image_base + '/' + image_url