Bugfix generate thumbnails on gdrive

pull/3008/head
Ozzie Isaacs 1 month ago
parent 4c01af340f
commit 8bc1f03164

@ -197,7 +197,8 @@ class TaskGenerateCoverThumbnails(CalibreTask):
img.format = thumbnail.format
img.save(filename=filename)
else:
with open(filename, 'rb') as fd:
stream.seek(0)
with open(filename, 'wb') as fd:
copyfileobj(stream, fd)
except Exception as ex:

Loading…
Cancel
Save