line length

This commit is contained in:
Florian Harr 2016-04-14 13:00:00 -04:00
parent f1427a9245
commit 93d75fc6a2

View File

@ -76,7 +76,8 @@ class Message(Loggable):
continue
dispositions = content_disposition.strip().split(";")
if (not dispositions[0].lower() == "attachment") and ("filename" not in dispositions[1].lower()):
if not dispositions[0].lower() == "attachment" and \
"filename" not in dispositions[1].lower():
continue
file_data = part.get_payload()