diff options
Diffstat (limited to 'kittystore/scrub.py')
-rw-r--r-- | kittystore/scrub.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kittystore/scrub.py b/kittystore/scrub.py index 8c98803..74aeed9 100644 --- a/kittystore/scrub.py +++ b/kittystore/scrub.py @@ -119,6 +119,7 @@ class Scrubber(object): if disposition and disposition.strip().startswith("attachment"): # part is attached self.save_attachment(part, part_num) + part.set_payload('') elif ctype == 'text/html' and isinstance(sanitize, IntType): # if sanitize == 0: # if outer: |