diff --git a/src/gourmet/image_utils.py b/src/gourmet/image_utils.py index 3ae0ee46..50e07e18 100644 --- a/src/gourmet/image_utils.py +++ b/src/gourmet/image_utils.py @@ -134,6 +134,8 @@ def __init__(self, parent: Gtk.Window, uris: List[str]): for uri in uris: image = make_thumbnail(uri, ThumbnailSize.SMALL) + if image is None: + continue pixbuf = bytes_to_pixbuf(image_to_bytes(image)) self.liststore.append([pixbuf])