mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Fix incorrect fix in custom ratings in content server
This commit is contained in:
parent
fd70947e57
commit
ac76710e9b
@ -825,7 +825,7 @@ class BrowseServer(object):
|
|||||||
continue
|
continue
|
||||||
if m['datatype'] == 'rating':
|
if m['datatype'] == 'rating':
|
||||||
r = u'<strong>%s: </strong>'%xml(m['name']) + \
|
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]
|
prefix=m['name'])[0]
|
||||||
else:
|
else:
|
||||||
r = u'<strong>%s: </strong>'%xml(m['name']) + \
|
r = u'<strong>%s: </strong>'%xml(m['name']) + \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user