mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-15 02:57:09 +01:00
Handles the case where other might have a None field as well (#4598)
This commit is contained in:
parent
72c6ac09ac
commit
07989bc2fa
2 changed files with 12 additions and 11 deletions
|
|
@ -617,7 +617,7 @@ class MailAccountHandler(LoggingMixin):
|
|||
f"{len(message.attachments)} attachment(s)",
|
||||
)
|
||||
|
||||
tag_ids = [tag.id for tag in rule.assign_tags.all()]
|
||||
tag_ids: list[int] = [tag.id for tag in rule.assign_tags.all()]
|
||||
doc_type = rule.assign_document_type
|
||||
|
||||
if (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue