mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-09-22 00:52:42 -05:00
Fixes #45
This commit is contained in:
@@ -273,11 +273,7 @@ class Consumer(object):
|
||||
def _store(self, text, doc):
|
||||
|
||||
sender, title, tags, file_type = self._guess_attributes_from_name(doc)
|
||||
tags = list(tags)
|
||||
|
||||
lower_text = text.lower()
|
||||
relevant_tags = set(
|
||||
[t for t in Tag.objects.all() if t.matches(lower_text)] + tags)
|
||||
relevant_tags = set(list(Tag.match_all(text)) + list(tags))
|
||||
|
||||
stats = os.stat(doc)
|
||||
|
||||
|
Reference in New Issue
Block a user