mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-30 20:16:01 +01:00
Fix #1277 (Error getting coverage)
This commit is contained in:
parent
97fbdff1aa
commit
fe5e125e92
1 changed files with 2 additions and 2 deletions
|
|
@ -280,9 +280,9 @@ def fetch_cover(self):
|
|||
else:
|
||||
self.cover.setPixmap(pix)
|
||||
self.cover_changed = True
|
||||
self.cpixmap = pix
|
||||
self.cpixmap = pix
|
||||
except LibraryThingError, err:
|
||||
error_dialog(self, _('Could not fetch cover'), _('<b>Could not fetch cover.</b><br/>')+unicode(err)).exec_()
|
||||
error_dialog(self, _('Could not fetch cover'), _('<b>Could not fetch cover.</b><br/>')+repr(err)).exec_()
|
||||
finally:
|
||||
self.fetch_cover_button.setEnabled(True)
|
||||
self.unsetCursor()
|
||||
|
|
|
|||
Loading…
Reference in a new issue