why does the poster not exist?
This commit is contained in:
parent
f2e0c2c701
commit
910c6ac674
2 changed files with 2 additions and 2 deletions
|
|
@ -291,7 +291,7 @@ class Item(models.Model):
|
|||
self.itemId = self.oxdbId
|
||||
#FIXME: move files to new id here
|
||||
|
||||
if self.poster:
|
||||
if self.poster and os.path.exists(self.poster.path):
|
||||
self.poster_height = self.poster.height
|
||||
self.poster_width = self.poster.width
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue