mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-22 05:51:10 +00:00
Fixed download notifications not being sent properly.
This commit is contained in:
parent
26f6fcb3ad
commit
164dc95f23
1 changed files with 4 additions and 4 deletions
|
@ -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…
Reference in a new issue