mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 17:17:26 +01:00
line length
This commit is contained in:
parent
f1427a9245
commit
93d75fc6a2
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue