Skip to content

Commit fb00b57

Browse files
Update src/core/image_pipeline.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8384123 commit fb00b57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/image_pipeline.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
try: # Optional; some minimal Pillow builds may omit ImageQt
88
from PIL.ImageQt import ImageQt # type: ignore
9-
except Exception: # noqa: BLE001
9+
except (ImportError, ModuleNotFoundError):
1010
ImageQt = None # type: ignore
1111
from PyQt6.QtGui import QPixmap
1212
import concurrent.futures

0 commit comments

Comments
 (0)