mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Fix regression in previous release that caused incorrect display of ratings in the side panel of the metadata download dialog
This commit is contained in:
parent
d38a6fa498
commit
df33ef6a3c
@ -269,7 +269,7 @@ class ResultsView(QTableView): # {{{
|
||||
parts.append('<div>%s: %s</div>'%series)
|
||||
if not book.is_null('rating'):
|
||||
style = 'style=\'font-family:"%s"\''%f
|
||||
parts.append('<div %s>%s</div>'%(style, rating_to_stars(int(book.rating))))
|
||||
parts.append('<div %s>%s</div>'%(style, rating_to_stars(int(2 * book.rating))))
|
||||
parts.append('</center>')
|
||||
if book.identifiers:
|
||||
urls = urls_from_identifiers(book.identifiers)
|
||||
|
Loading…
x
Reference in New Issue
Block a user