mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-10 08:37:19 +01:00
Celery JSON serializable object for override_tag_ids
This commit is contained in:
parent
39149a891c
commit
91a2dedfec
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ def _consume(filepath):
|
|||
logger.info(f"Adding {filepath} to the task queue.")
|
||||
consume_file.delay(
|
||||
filepath,
|
||||
override_tag_ids=tag_ids if tag_ids else None,
|
||||
override_tag_ids=list(tag_ids) if tag_ids else None,
|
||||
)
|
||||
except Exception:
|
||||
# Catch all so that the consumer won't crash.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue