1
0
Fork 0
mirror of https://github.com/morpheus65535/bazarr synced 2025-03-03 18:15:50 +00:00

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

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