Merge remote-tracking branch 'cover_path/patch-1'

pull/1563/head
OzzieIsaacs 4 years ago
commit b9a802a19c

@ -833,8 +833,8 @@ def upload():
# move cover to final directory, including book id
if has_cover:
try:
new_coverpath = os.path.join(config.config_calibre_dir, db_book.path, "cover.jpg")
try:
copyfile(meta.cover, new_coverpath)
os.unlink(meta.cover)
except OSError as e:

Loading…
Cancel
Save