mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2026-10-08 09:07:13 +00:00
removed matching model fields, automatic classifier reloading, added autmatic_classification field to matching model
This commit is contained in:
1 parent
30134034e2
commit
70bd05450a
8 files changed
+126
-143
No files matched your search
Regular → Executable
-6
@@ -221,12 +221,6 @@ class Consumer:
|
||||
storage_type=self.storage_type
|
||||
)
|
||||
|
||||
relevant_tags = set(list(Tag.match_all(text)) + list(file_info.tags))
|
||||
if relevant_tags:
|
||||
tag_names = ", ".join([t.slug for t in relevant_tags])
|
||||
self.log("debug", "Tagging with {}".format(tag_names))
|
||||
document.tags.add(*relevant_tags)
|
||||
|
||||
self._write(document, doc, document.source_path)
|
||||
self._write(document, thumbnail, document.thumbnail_path)
|
||||
|
||||
|
||||
Reference in new issue
Block a user