From 6b9d4a16d51d02d22fb32b0e83e6d277df4f4604 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 14 Mar 2019 11:57:27 +0530 Subject: [PATCH] Fix a regression that caused a harmless error popup when displaying tooltips in the select format dialog --- src/calibre/gui2/dialogs/select_formats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/gui2/dialogs/select_formats.py b/src/calibre/gui2/dialogs/select_formats.py index eb2d776923..6d4038cc41 100644 --- a/src/calibre/gui2/dialogs/select_formats.py +++ b/src/calibre/gui2/dialogs/select_formats.py @@ -37,7 +37,7 @@ class Formats(QAbstractListModel): fmt = self.fmts[row] count = self.counts[fmt] return _('There is one book with the {} format').format(fmt.upper()) if count == 1 else _( - 'There are {count} books with the {fmt} format', count).format( + 'There are {count} books with the {fmt} format').format( count=count, fmt=fmt.upper()) return None