Skip to content

Commit

Permalink
send message body without title
Browse files Browse the repository at this point in the history
  • Loading branch information
lardbit committed Nov 14, 2021
1 parent 5e3fd77 commit 0114761
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/nefarious/notification.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ def send_message(message: str) -> bool:
apprise_instance.add(nefarious_settings.apprise_notification_url)
try:
return apprise_instance.notify(
title=message,
body='', # opting to just send a title as the message
body=message,
)
except Exception as e:
logger_background.warning('apprise notification error for url {}'.format(nefarious_settings.apprise_notification_url))
Expand Down

0 comments on commit 0114761

Please sign in to comment.