Update register-handler.py

added "application/x-pkcs7-signature" type
This commit is contained in:
kflux 2014-09-21 00:37:17 +02:00
parent 5c61d28fa3
commit 463b5dbe7a
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ if __name__ == "__main__":
sign_part = None
for msg_part in register_msg.walk():
if msg_part.get_content_type().lower() == "application/pkcs7-signature":
if msg_part.get_content_type().lower() == "application/pkcs7-signature" or msg_part.get_content_type().lower() == "application/x-pkcs7-signature":
sign_type = 'smime';
sign_part = msg_part
break