Fixes #1954708 [Unhandled exception when downloading covers and metadata](https://bugs.launchpad.net/calibre/+bug/1954708)
This commit is contained in:
Kovid Goyal 2021-12-14 11:36:26 +05:30
commit 9085cc2846
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -388,7 +388,7 @@ class ProceedQuestion(QWidget):
def animated_paint(self, painter):
top = (1 - self._show_fraction) * self.height()
painter.drawPixmap(0, top, self.rendered_pixmap)
painter.drawPixmap(0, int(top), self.rendered_pixmap)
def paint_background(self, painter):
br = 12 # border_radius