clear poster more often

This commit is contained in:
j 2017-09-21 11:38:12 +02:00
parent 85d84c2800
commit 5512252570

View file

@ -1455,7 +1455,7 @@ class Item(models.Model):
data = f.read() data = f.read()
if data: if data:
self.save_poster(data) self.save_poster(data)
self.clear_poster_cache(poster) self.clear_poster_cache(poster)
def make_siteposter(self): def make_siteposter(self):
poster = self.path('siteposter.jpg') poster = self.path('siteposter.jpg')