Fix disk cache with pillow generated webps
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
253914e245
commit
cb70882415
|
@ -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:
|
||||||
|
|
Reference in a new issue