From ef910b86ef4ab8b7726cfecd70750a228bc3e515 Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Tue, 14 May 2024 14:01:13 +0200 Subject: [PATCH] Notifications - Update Apprise notification library to 1.8.0 (#2363 #2324) fixes mailto:// with IP as server endpoint --- changedetectionio/notification.py | 2 +- requirements.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/changedetectionio/notification.py b/changedetectionio/notification.py index f634a1af..4fa35738 100644 --- a/changedetectionio/notification.py +++ b/changedetectionio/notification.py @@ -48,7 +48,7 @@ from apprise.decorators import notify def apprise_custom_api_call_wrapper(body, title, notify_type, *args, **kwargs): import requests from apprise.utils import parse_url as apprise_parse_url - from apprise.URLBase import URLBase + from apprise import URLBase url = kwargs['meta'].get('url') diff --git a/requirements.txt b/requirements.txt index 54fbcd5f..8992676f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -36,7 +36,7 @@ dnspython==2.3.0 # related to eventlet fixes # jq not available on Windows so must be installed manually # Notification library -apprise~=1.7.4 +apprise~=1.8.0 # apprise mqtt https://github.com/dgtlmoon/changedetection.io/issues/315 # and 2.0.0 https://github.com/dgtlmoon/changedetection.io/issues/2241 not yet compatible