diff --git a/oxdata/poster/models.py b/oxdata/poster/models.py index c16d0b4..11be8ae 100644 --- a/oxdata/poster/models.py +++ b/oxdata/poster/models.py @@ -119,7 +119,8 @@ class PosterCache(models.Model): self.status = "invalid image" self.image.delete() self.save() - return self.image + if not failed: + return self.image def get_poster_urls(m): def addPoster(url, site, site_id):