Quote:
Originally Posted by chris33
Code:
self.gui.current_db.new_api.set_cover({searchId, mi.cover_data[1]})
|
I can't speak to most of your problems, but you are passing the wrong parameter to set_cover. It should be a dict, not a set. Something like
Code:
{ book_id: cover_data }
where cover_data is one of a QImage, QPixmap, file object or bytestring.