Skip to content

Commit 1e70645

Browse files
committed
Put value last because it can be False
1 parent 875c34f commit 1e70645

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

app/grandchallenge/algorithms/serializers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,8 @@ def reformat_inputs(*, serialized_civs):
333333
value=upload_session
334334
or user_upload
335335
or image
336-
or value
337-
or dicom_upload_with_name,
336+
or dicom_upload_with_name
337+
or value,
338338
)
339339
)
340340
except ValidationError as e:

app/grandchallenge/components/serializers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ def update(self, instance, validated_data):
297297
value=upload_session
298298
or user_upload
299299
or image
300-
or value
301-
or dicom_upload_with_name,
300+
or dicom_upload_with_name
301+
or value,
302302
)
303303
)
304304
try:

0 commit comments

Comments
 (0)