Skip to content

Commit

Permalink
Call upload trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
jayvarner committed Jan 16, 2024
1 parent 89f626b commit ab44f93
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions readux_ingest_ecds/models.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import os
import logging
from zipfile import ZipFile
from shutil import move
from django.core.files.storage import FileSystemStorage
from django.db import models
from django.conf import settings
from .services import is_image, is_ocr, is_junk, metadata_from_file, create_manifest, move_image_file, move_ocr_file, canvas_dimensions
from .services import is_image, is_ocr, is_junk, metadata_from_file, create_manifest, move_image_file, move_ocr_file, canvas_dimensions, upload_trigger_file
from .helpers import get_iiif_models

Manifest = get_iiif_models()['Manifest']
Expand Down Expand Up @@ -186,3 +185,5 @@ def create_canvases(self):
width=width,
height=height
)

upload_trigger_file(self.trigger_file)

0 comments on commit ab44f93

Please sign in to comment.