Fix disk cache with pillow generated webps
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Bruder 2019-09-02 19:20:06 +00:00
parent 253914e245
commit cb70882415
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -253,6 +253,7 @@ class CalibreDB:
lossless=self.webp_config['lossless'] lossless=self.webp_config['lossless']
) )
page_data.seek(0)
disk_cache.set(f'{volume_id}-{page_number}', page_data) disk_cache.set(f'{volume_id}-{page_number}', page_data)
page_data.seek(0) page_data.seek(0)
else: else: