mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00
Fixes one more place which used manual size formatting
This commit is contained in:
parent
f02a4fa7cf
commit
7ab45080b7
@ -85,7 +85,8 @@ class MailDocumentParser(DocumentParser):
|
||||
"prefix": "",
|
||||
"key": "attachments",
|
||||
"value": ", ".join(
|
||||
f"{attachment.filename}({(attachment.size / 1024):.2f} KiB)"
|
||||
f"{attachment.filename}"
|
||||
f"({format_size(attachment.size, binary=True)})"
|
||||
for attachment in mail.attachments
|
||||
),
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user