mirror of https://github.com/morpheus65535/bazarr
Fix for missing changes after DB refactoring.
This commit is contained in:
parent
6f3bde1d72
commit
c9b62a5652
|
@ -73,8 +73,8 @@ def send_notifications(sonarrSeriesId, sonarrEpisodeId, message):
|
|||
apobj = apprise.Apprise()
|
||||
|
||||
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',
|
||||
|
@ -89,8 +89,8 @@ def send_notifications_movie(radarrId, message):
|
|||
apobj = apprise.Apprise()
|
||||
|
||||
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 New Issue