Skip to content

Commit

Permalink
Fix background task
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvarner committed Oct 2, 2024
1 parent 038e5c0 commit 57b0d38
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readux_ingest_ecds/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,5 @@ def s3_ingest_task(ingest_id, *args, **kwargs):
)
def add_ocr_manage_task(volume_pid, *args, **kwargs):
"""Add OCR for Volume/Manifest via Manage Command"""
add_ocr_to_canvases(volume_pid)
manifest = Manifest.objects.get(pid=volume_pid)
add_ocr_to_canvases(manifest)

0 comments on commit 57b0d38

Please sign in to comment.