|
|
|
@ -187,8 +187,8 @@ def process_notification(n_object, datastore):
|
|
|
|
|
if not 'format=' in url and (n_format == 'Text' or n_format == 'Markdown'):
|
|
|
|
|
prefix = '?' if not '?' in url else '&'
|
|
|
|
|
# Apprise format is lowercase text https://github.com/caronc/apprise/issues/633
|
|
|
|
|
n_format = n_format.tolower()
|
|
|
|
|
url = "{}{}format={}".format(url, prefix, n_format)
|
|
|
|
|
n_format = n_format.lower()
|
|
|
|
|
url = f"{url}{prefix}format={n_format}"
|
|
|
|
|
# If n_format == HTML, then apprise email should default to text/html and we should be sending HTML only
|
|
|
|
|
|
|
|
|
|
apobj.add(url)
|
|
|
|
|