Fixed download notifications not being sent properly.

pull/2216/head
morpheus65535 1 year ago
parent 26f6fcb3ad
commit 164dc95f23

@ -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',

Loading…
Cancel
Save