Skip to content

Commit

Permalink
Prevent start_mets_task if aip is deleted.
Browse files Browse the repository at this point in the history
  • Loading branch information
melaniekung committed Sep 7, 2023
1 parent a315d91 commit 6b7ddb1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions AIPscan/Aggregator/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def parse_packages_and_load_mets(

if package.is_deleted():
delete_aip(package.uuid)
continue

if not package.is_aip():
continue
Expand Down

0 comments on commit 6b7ddb1

Please sign in to comment.