Skip to content

Commit

Permalink
Fix bulk create call
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvarner committed Jan 26, 2024
1 parent 1c49cb9 commit c5961ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readux_ingest_ecds/services/ocr_services.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def add_ocr_annotations(canvas, ocr):
word_order += 1

print('saving')
OCR.bulk_create(annotations)
OCR.objects.bulk_create(annotations)

def add_oa_annotations(annotation_list_url):
data = fetch_url(annotation_list_url)
Expand Down

0 comments on commit c5961ee

Please sign in to comment.