Skip to content

Commit fe5e63e

Browse files
committed
Allow passing None value if current_civ is None
1 parent 4d13f58 commit fe5e63e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

app/grandchallenge/components/models.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2618,6 +2618,9 @@ def _create_civ_for_image( # noqa: C901
26182618
kwargs={"dicom_imageset_upload_pk": upload.pk}
26192619
).apply_async
26202620
)
2621+
elif current_civ is None:
2622+
# Nothing to do
2623+
pass
26212624
else:
26222625
raise NotImplementedError
26232626

0 commit comments

Comments
 (0)