Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
dgtlmoon committed Jan 8, 2025
1 parent 585fccd commit cc74acb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion changedetectionio/apprise_plugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def apprise_custom_api_call_wrapper(body, title, notify_type, *args, **kwargs):
elif results.get('user'):
auth = (unquote_plus(results.get('user')))

if '{' in body[:100]:
if body and '{' in body[:100]:
json_header = 'application/json; charset=utf-8'
try:
# Try if it's JSON
Expand Down

0 comments on commit cc74acb

Please sign in to comment.