Celery JSON serializable object for override_tag_ids

This commit is contained in:
Michael Shamoon authored and Trenton H committed 2022-11-07 07:41:23 -08:00
1 parent 39149a891c
commit 91a2dedfec
1 file changed
+1 -1
@@ -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.