Skip to content

Commit 6a67cf7

Browse files
Fixed import error with new thumbnail system
1 parent 23fad51 commit 6a67cf7

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

CONTRIBUTORS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
CONTRIBUTORS
22

33
This file is automatically generated. DO NOT EDIT MANUALLY.
4-
Generated on: 2025-09-14T14:20:19.788061Z
4+
Generated on: 2025-09-15T06:14:15.680606Z
55

66
Upstream project: https://github.com/janeczku/calibre-web
77
Fork project (Calibre-Web Automated, since 2024): https://github.com/crocodilestick/calibre-web-automated
@@ -298,7 +298,7 @@ Copyright (C) 2024-2025 Calibre-Web Automated contributors
298298
- zhiyue (1 commits)
299299
# Fork Contributors (crocodilestick/calibre-web-automated)
300300

301-
- crocodilestick (662 commits)
301+
- crocodilestick (666 commits)
302302
- jmarmstrong1207 (73 commits)
303303
- demitrix (30 commits)
304304
- sirwolfgang (22 commits)

cps/helper.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,6 @@ def get_book_cover_internal(book, resolution=None):
787787
# Try to generate missing thumbnail on-demand
788788
try:
789789
from .tasks.thumbnail import TaskGenerateCoverThumbnails
790-
from . import use_IM
791790

792791
# Only generate if ImageMagick is available
793792
if use_IM:
@@ -987,7 +986,6 @@ def trigger_thumbnail_generation_for_book(book_id):
987986
"""Trigger thumbnail generation for a book after cover changes."""
988987
try:
989988
from .tasks.thumbnail import TaskGenerateCoverThumbnails
990-
from . import use_IM, WorkerThread
991989

992990
if use_IM:
993991
# Queue thumbnail generation task

0 commit comments

Comments
 (0)