forked from 0x2620/pandora
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:
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<meta name="application-name" content="{{settings.SITENAME}}"/>
|
||||
<link rel="icon" href="/static/png/icon64.png" sizes="32x32"/>
|
||||
<link rel="icon" href="/static/png/icon64.png" sizes="48x48"/>
|
||||
<meta name="application-url" content="{{settings.URL}}"/>
|
||||
<meta name="application-url" content="http://{{settings.URL}}"/>
|
||||
<script type='text/javascript'>
|
||||
if (typeof(console) == 'undefined') {
|
||||
console = {
|
||||
|
|
Loading…
Reference in a new issue