2 Oct
2020
2 Oct
'20
1:19 a.m.
On 10/1/20 6:12 PM, Mark Sapiro wrote:
m.filter_types = ['application/pdf'] commit() print(list(m.filter_types)) ['application/pdf']
This should allow ONLY the PDF and nothing else, not even the text/* message body parts.
Sorry, my statement above is wrong. That should also remove the pdf, but it's redundant given that 'application/pdf' is not in pass_types.
Actually, what's m.filter_content? I suspect it's False which means don't do any content filtering.
I think this is the issue.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan