Commit b6fb2792 authored by Vangelis Koukis's avatar Vangelis Koukis
Browse files

Merge branch 'plankton'

parents c5d9a291 2832ac9c
......@@ -190,7 +190,7 @@ def get_backend_image(image_id, owner):
backend = ImageBackend(owner.uniq)
try:
image = backend.get_image(image_id)
if not image:
if not image or image['deleted_at']:
raise ItemNotFound('Image not found.')
return image
finally:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment