Fix disk cache with pillow generated webps
continuous-integration/drone/push Build is passing Details

master
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
1 changed files with 1 additions and 0 deletions

View File

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