X-Git-Url: https://git.phdru.name/?p=mimedecode.git;a=blobdiff_plain;f=mimedecode.py;h=6567e9926b562e0c7504cdd849c3ba183f447eba;hp=0714c874863da054c9f9b01f9b0a0e4d7958d551;hb=0d46ae8e42cfae5ba8d3c5838dc4f5bca57130bf;hpb=259081fe8a17e0619ce7803dd3cb310ebdd25202 diff --git a/mimedecode.py b/mimedecode.py index 0714c87..6567e99 100755 --- a/mimedecode.py +++ b/mimedecode.py @@ -364,9 +364,9 @@ def decode_part(msg): for content_type in masks: if content_type in g.save_headers_mask: _save_message(msg, outstring, save_headers=True, save_body=False) - elif content_type in g.save_body_mask: + if content_type in g.save_body_mask: _save_message(msg, outstring, save_headers=False, save_body=True) - elif content_type in g.save_message_mask: + if content_type in g.save_message_mask: _save_message(msg, outstring, save_headers=True, save_body=True) for content_type in masks: