mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
The right fix for the cover problem when syncing books
This commit is contained in:
parent
f95ddb76fd
commit
0468f116cb
@ -1957,7 +1957,9 @@ class DeviceMixin(object): # {{{
|
||||
pt.close()
|
||||
files.append(filename_to_unicode(os.path.abspath(pt.name)))
|
||||
names.append(fmt_name)
|
||||
metadata.append(db.new_api.get_metadata(id_, get_cover=True))
|
||||
mi = db.new_api.get_metadata(id_, get_cover=True)
|
||||
self.update_thumbnail(mi)
|
||||
metadata.append(mi)
|
||||
except:
|
||||
prints('Problem creating temporary file for', fmt_name)
|
||||
traceback.print_exc()
|
||||
|
Loading…
x
Reference in New Issue
Block a user