mirror of
https://github.com/caronc/apprise.git
synced 2025-01-08 23:19:02 +01:00
ntfy loaded topic count api reference updated (#1094)
This commit is contained in:
parent
c157ff12c0
commit
6cd528cd5c
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user