From 777625457f8a4a0049df8fbb12559f6a8bd3952c Mon Sep 17 00:00:00 2001 From: Ron Date: Wed, 30 Jul 2025 12:47:48 +0200 Subject: [PATCH] Update signl4.py --- apprise/plugins/signl4.py | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/apprise/plugins/signl4.py b/apprise/plugins/signl4.py index 738eebe5..1e8350bd 100644 --- a/apprise/plugins/signl4.py +++ b/apprise/plugins/signl4.py @@ -102,9 +102,15 @@ class NotifySIGNL4(NotifyBase): }, }) - def __init__(self, secret, service=None, location=None, - alerting_scenario=None, filtering=None, - external_id=None, status=None, **kwargs): + def __init__(self, + secret, + service=None, + location=None, + alerting_scenario=None, + filtering=None, + external_id=None, + status=None, + **kwargs): """ Initialize SIGNL4 Object """ @@ -242,9 +248,7 @@ class NotifySIGNL4(NotifyBase): """ # Define any URL parameters - params = { - "region": "none", - } + params = {} if self.service is not None: params["service"] = self.service @@ -267,7 +271,7 @@ class NotifySIGNL4(NotifyBase): # Extend our parameters params.update(self.url_parameters(privacy=privacy, *args, **kwargs)) - url = "{schema}://{secret}/" + url = "{schema}://{secret}" return url.format( schema=self.secure_protocol,