From 6cd528cd5c706bd9cb41e6c433868bbf17ab2de5 Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Sat, 6 Apr 2024 11:13:16 -0400 Subject: [PATCH] ntfy loaded topic count api reference updated (#1094) --- apprise/plugins/NotifyNtfy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apprise/plugins/NotifyNtfy.py b/apprise/plugins/NotifyNtfy.py index 138c3fca..40834eec 100644 --- a/apprise/plugins/NotifyNtfy.py +++ b/apprise/plugins/NotifyNtfy.py @@ -698,7 +698,7 @@ class NotifyNtfy(NotifyBase): """ Returns the number of targets associated with this notification """ - return len(self.topics) + return 1 if not self.topics else len(self.topics) @staticmethod def parse_url(url):