mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
fix status reports for consumption directory status messages
This commit is contained in:
parent
b581e42216
commit
7dedb99dae
@ -1,6 +1,7 @@
|
||||
import datetime
|
||||
import hashlib
|
||||
import os
|
||||
import uuid
|
||||
from subprocess import Popen
|
||||
|
||||
import magic
|
||||
@ -150,7 +151,7 @@ class Consumer(LoggingMixin):
|
||||
self.override_correspondent_id = override_correspondent_id
|
||||
self.override_document_type_id = override_document_type_id
|
||||
self.override_tag_ids = override_tag_ids
|
||||
self.task_id = task_id
|
||||
self.task_id = task_id or str(uuid.uuid4())
|
||||
|
||||
self._send_progress(self.filename, 0, 100, 'WORKING',
|
||||
'Received new file.')
|
||||
|
Loading…
x
Reference in New Issue
Block a user