From 031439ccd56f3535d23de578a260b17deb186a9a Mon Sep 17 00:00:00 2001 From: j Date: Fri, 2 Aug 2019 16:24:39 +0200 Subject: [PATCH] clear failed piratecinema.org posters, fixes #3209 --- oxdata/poster/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/oxdata/poster/models.py b/oxdata/poster/models.py index 505f1c0..7984fad 100644 --- a/oxdata/poster/models.py +++ b/oxdata/poster/models.py @@ -146,6 +146,7 @@ def get_poster_urls(m): poster = ox.web.piratecinema.get_poster_url(m.imdb_id) if poster: + m.postercache.filter(url__contains='piratecinema.org', failed=True).delete() addPoster(poster, 'piratecinema.org', m.imdb_id) if m.criterion_id: