ignore PGP signatures; I hope those messages get posted now #40
This commit is contained in:
parent
de657ba350
commit
6a8cf5c6af
|
@ -61,6 +61,8 @@ def make_report(msg, user):
|
|||
for part in msg.get_payload():
|
||||
if part.get_content_type() == "text":
|
||||
text.append(part.get_payload())
|
||||
elif part.get_content_type() == "application/pgp-signature":
|
||||
pass # ignore PGP signatures
|
||||
elif part.get_content_type() == "multipart/mixed":
|
||||
for p in part:
|
||||
if isinstance(p, str):
|
||||
|
|
Loading…
Reference in a new issue