fall back to siteposter
This commit is contained in:
parent
e6ce812f1a
commit
2662a66aca
2 changed files with 19 additions and 1 deletions
|
|
@ -1455,7 +1455,7 @@ class Item(models.Model):
|
|||
self.clear_poster_cache(self.poster.path)
|
||||
self.poster.delete()
|
||||
|
||||
if not self.poster:
|
||||
if not self.poster or not os.path.exists(self.poster.path):
|
||||
poster = self.make_siteposter()
|
||||
url = self.prefered_poster_url()
|
||||
if url:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue