summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2023-07-31 09:54:50 -0400
committermorpheus65535 <[email protected]>2023-07-31 09:54:50 -0400
commit164dc95f237702a3972813c68f49a5c3ff34d2b8 (patch)
treef2c1dc573bd46ac9800fb0bd054b15847453db39
parent26f6fcb3adf3440d56c686ea87c8ee00a3724435 (diff)
downloadbazarr-164dc95f237702a3972813c68f49a5c3ff34d2b8.tar.gz
bazarr-164dc95f237702a3972813c68f49a5c3ff34d2b8.zip
Fixed download notifications not being sent properly.
-rw-r--r--bazarr/app/notifier.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/bazarr/app/notifier.py b/bazarr/app/notifier.py
index 3669c1c72..6d97fb13b 100644
--- a/bazarr/app/notifier.py
+++ b/bazarr/app/notifier.py
@@ -75,8 +75,8 @@ def send_notifications(sonarr_series_id, sonarr_episode_id, message):
apobj = apprise.Apprise(asset=asset)
for provider in providers:
- if provider['url'] is not None:
- apobj.add(provider['url'])
+ if provider.url is not None:
+ apobj.add(provider.url)
apobj.notify(
title='Bazarr notification',
@@ -107,8 +107,8 @@ def send_notifications_movie(radarr_id, message):
apobj = apprise.Apprise(asset=asset)
for provider in providers:
- if provider['url'] is not None:
- apobj.add(provider['url'])
+ if provider.url is not None:
+ apobj.add(provider.url)
apobj.notify(
title='Bazarr notification',