Handle application/pgp-keys

This commit is contained in:
Peter J. Holzer 2019-06-17 20:59:23 +02:00
parent 3865c5f887
commit 589a217b1b
1 changed files with 1 additions and 0 deletions

View File

@ -409,6 +409,7 @@ def render_body(msg, extra=None):
"image/jpeg": render_image_jpeg, "image/jpeg": render_image_jpeg,
"application/x-compressed-tar": render_application_octet_stream, "application/x-compressed-tar": render_application_octet_stream,
"message/delivery-status": render_message_delivery_status, "message/delivery-status": render_message_delivery_status,
"application/pgp-keys": render_application_octet_stream,
} }
content_type = msg.get_content_type() content_type = msg.get_content_type()
content_disposition = msg.get_content_disposition() content_disposition = msg.get_content_disposition()