From 6885e4108432a21f478352926292cd4e5eed1734 Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Mon, 7 Oct 2013 09:18:53 +0000 Subject: [PATCH] nicer logs --- pandora/item/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora/item/models.py b/pandora/item/models.py index 24ad896f..ce1dc33f 100644 --- a/pandora/item/models.py +++ b/pandora/item/models.py @@ -325,7 +325,7 @@ class Item(models.Model): def __unicode__(self): year = self.get('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: string = self.get('title', u'Untitled') return u'[%s] %s' % (self.itemId,string)