diff --git a/backend.py b/backend.py index e08ec47..3466393 100644 --- a/backend.py +++ b/backend.py @@ -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: