Skip to content

Commit

Permalink
moved filename reference to Header (out of GET params)
Browse files Browse the repository at this point in the history
  • Loading branch information
caronc committed Jun 24, 2023
1 parent ab55aef commit 7d55fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apprise/plugins/NotifyNtfy.py
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ def _send(self, topic, body=None, title=None, attach=None, image_url=None,

if isinstance(attach, AttachBase):
# Prepare our Header
params['filename'] = attach.name
headers['Filename'] = attach.name

# prepare our files object
files = {'file': (attach.name, open(attach.path, 'rb'))}
Expand Down

0 comments on commit 7d55fe0

Please sign in to comment.