Skip to content

Commit

Permalink
Mime-type updated
Browse files Browse the repository at this point in the history
  • Loading branch information
caronc committed Jun 25, 2023
1 parent ab55aef commit 645ae9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apprise/plugins/NotifyNtfy.py
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,8 @@ def _send(self, topic, body=None, title=None, attach=None, image_url=None,
params['filename'] = attach.name

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

elif self.attach is not None:
data['attach'] = self.attach
Expand Down

0 comments on commit 645ae9e

Please sign in to comment.