mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-02-02 16:19:10 +00:00
fix: use first file as epub thumbnail instead of the last. (#1111)
This commit is contained in:
@@ -885,6 +885,7 @@ class ThumbRenderer(QObject):
|
||||
):
|
||||
image_data = zip_file.read(file_name)
|
||||
im = Image.open(BytesIO(image_data))
|
||||
break
|
||||
except Exception as e:
|
||||
logger.error("Couldn't render thumbnail", filepath=filepath, error=type(e).__name__)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user