Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app/grandchallenge/cases/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ def decompress(self, value):
if isinstance(value, (list, tuple)):
if len(value) == 1:
item = value[0]
if not item:
Comment thread
koopmant marked this conversation as resolved.
Outdated
return [None, None]
if item in ImageWidgetChoices.names:
return [None, None]
if Image.objects.filter(pk=item).exists():
Expand Down
Loading