Fix for missing changes after DB refactoring.

This commit is contained in:
Louis Vézina 2019-10-28 19:45:48 -04:00
parent 6f3bde1d72
commit c9b62a5652
1 changed files with 4 additions and 4 deletions

View File

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