Add debug output to notify loop

pull/150/head
dgtlmoon 3 years ago
parent 5cd4a36896
commit b19a037fac

@ -4,6 +4,7 @@ import apprise
def process_notification(n_object, datastore): def process_notification(n_object, datastore):
apobj = apprise.Apprise() apobj = apprise.Apprise()
for url in n_object['notification_urls']: for url in n_object['notification_urls']:
print (">> Process Notification: AppRise notifying {}".format(url.strip()))
apobj.add(url.strip()) apobj.add(url.strip())
# Get the notification body from datastore # Get the notification body from datastore

Loading…
Cancel
Save