diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-11-20 17:15:20 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-11-20 17:15:20 +0100 |
commit | abc24af1f25349bd6eac67a7b993c32df486825e (patch) | |
tree | 62a652f5359da23b099f14e1a34b3e92329f8f44 /alot/db | |
parent | f2a92d0123240e41493215adcc2e0dfa9e7fadbb (diff) |
utils/mailcap: fix filename handling
It is only relevant for the sanitize_attachment_filename hook, so never
got triggered.
Diffstat (limited to 'alot/db')
-rw-r--r-- | alot/db/message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/db/message.py b/alot/db/message.py index 014218a6..19a0f043 100644 --- a/alot/db/message.py +++ b/alot/db/message.py @@ -224,7 +224,7 @@ class _MimeTree: # try procesing content with an external program rendered = _render_part_external(content, self.content_type, self._part.get_params(), - 'copiousoutput') + self.filename) if rendered: return rendered |