forked from 0x2620/pandora
nicer logs
This commit is contained in:
parent
4199b1277b
commit
6885e41084
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ class Item(models.Model):
|
||||||
def __unicode__(self):
|
def __unicode__(self):
|
||||||
year = self.get('year')
|
year = self.get('year')
|
||||||
if year:
|
if year:
|
||||||
string = u'%s (%s)' % (self.get('title', 'Untitled'), self.get('year'))
|
string = u'%s (%s)' % (ox.decode_html(self.get('title', 'Untitled')), self.get('year'))
|
||||||
else:
|
else:
|
||||||
string = self.get('title', u'Untitled')
|
string = self.get('title', u'Untitled')
|
||||||
return u'[%s] %s' % (self.itemId,string)
|
return u'[%s] %s' % (self.itemId,string)
|
||||||
|
|
Loading…
Reference in a new issue