mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-19 10:19:27 -05:00
Celery JSON serializable object for override_tag_ids
This commit is contained in:
parent
39149a891c
commit
91a2dedfec
@ -94,7 +94,7 @@ def _consume(filepath):
|
|||||||
logger.info(f"Adding {filepath} to the task queue.")
|
logger.info(f"Adding {filepath} to the task queue.")
|
||||||
consume_file.delay(
|
consume_file.delay(
|
||||||
filepath,
|
filepath,
|
||||||
override_tag_ids=tag_ids if tag_ids else None,
|
override_tag_ids=list(tag_ids) if tag_ids else None,
|
||||||
)
|
)
|
||||||
except Exception:
|
except Exception:
|
||||||
# Catch all so that the consumer won't crash.
|
# Catch all so that the consumer won't crash.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user