Skip to content

Commit

Permalink
add data use agreement
Browse files Browse the repository at this point in the history
  • Loading branch information
Dana authored and Dana committed Dec 14, 2022
1 parent 329e669 commit 216777e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion physionet-django/project/modelcomponents/activeproject.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def check_integrity(self):
# Data Upload Agreement
try:
DataUploadAgreement.objects.get(project_id=self.id)
except DataUploadAgreement.IntegrityError:
except DataUploadAgreement.ObjectDdoestNotExist:
self.integrity_errors.append('Missing required field: Data Upload Agreement')

# Metadata
Expand Down

0 comments on commit 216777e

Please sign in to comment.