This commit is contained in:
dgtlmoon
2023-06-30 15:18:08 +02:00
parent 2f777ea3bb
commit 83e33e4927
8 changed files with 243 additions and 15 deletions

View File

@@ -151,7 +151,7 @@ def process_notification(n_object, datastore):
# Apprise will default to HTML, so we need to override it
# So that whats' generated in n_body is in line with what is going to be sent.
# https://github.com/caronc/apprise/issues/633#issuecomment-1191449321
if not 'format=' in url and (n_format == 'text' or n_format == 'markdown'):
if not 'format=' in url and (n_format == 'Text' or n_format == 'Markdown'):
prefix = '?' if not '?' in url else '&'
url = "{}{}format={}".format(url, prefix, n_format)