Fix incorrect display of custom ratings in content server

This commit is contained in:
Charles Haley 2012-02-22 08:10:13 +01:00
parent f15011a815
commit e1d6c16f6a

View File

@ -825,7 +825,7 @@ class BrowseServer(object):
continue
if m['datatype'] == 'rating':
r = u'<strong>%s: </strong>'%xml(m['name']) + \
render_rating(mi.rating/2.0, self.opts.url_prefix,
render_rating(mi.get(field), self.opts.url_prefix,
prefix=m['name'])[0]
else:
r = u'<strong>%s: </strong>'%xml(m['name']) + \