From df33ef6a3c68a3ef7688b0bf586a959b803a2f5c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 13 Sep 2016 07:24:48 +0530 Subject: [PATCH] Fix regression in previous release that caused incorrect display of ratings in the side panel of the metadata download dialog --- src/calibre/gui2/metadata/single_download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/metadata/single_download.py b/src/calibre/gui2/metadata/single_download.py index e674f56629..6122cf2499 100644 --- a/src/calibre/gui2/metadata/single_download.py +++ b/src/calibre/gui2/metadata/single_download.py @@ -269,7 +269,7 @@ class ResultsView(QTableView): # {{{ parts.append('
%s: %s
'%series) if not book.is_null('rating'): style = 'style=\'font-family:"%s"\''%f - parts.append('
%s
'%(style, rating_to_stars(int(book.rating)))) + parts.append('
%s
'%(style, rating_to_stars(int(2 * book.rating)))) parts.append('') if book.identifiers: urls = urls_from_identifiers(book.identifiers)