From c9b62a5652310f322fb9150e23a67a8bfbe4d863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Louis=20V=C3=A9zina?= <5130500+morpheus65535@users.noreply.github.com> Date: Mon, 28 Oct 2019 19:45:48 -0400 Subject: [PATCH] Fix for missing changes after DB refactoring. --- bazarr/notifier.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bazarr/notifier.py b/bazarr/notifier.py index 5798b590c..4626fa78f 100644 --- a/bazarr/notifier.py +++ b/bazarr/notifier.py @@ -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',