This commit is contained in:
rolux 2011-10-31 12:46:44 +00:00
commit 7e39663f3c
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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 = {