Fix incorrect fix in custom ratings in content server

This commit is contained in:
Charles Haley 2012-02-25 05:10:35 +01:00
parent fd70947e57
commit ac76710e9b

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.get(field), self.opts.url_prefix,
render_rating(mi.get(field)/2.0, self.opts.url_prefix,
prefix=m['name'])[0]
else:
r = u'<strong>%s: </strong>'%xml(m['name']) + \