mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
line length
This commit is contained in:
parent
f1427a9245
commit
93d75fc6a2
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user