From 4b510dc4efadd3a605beafae096d4bb2b453533f Mon Sep 17 00:00:00 2001 From: Tom Selier Date: Fri, 29 Sep 2023 15:23:16 +0200 Subject: [PATCH] now loading pngs and jpgs --- src/suite.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/suite.py b/src/suite.py index 7538dab..4180f24 100644 --- a/src/suite.py +++ b/src/suite.py @@ -276,6 +276,9 @@ class MainApp: images = [] for file in glob.glob(path + "/*.jpg"): images.append(file) + + for file in glob.glob(path + "/*.png"): + images.append(file) self.img_max = len(images) self.img_name = os.path.split(images[self.img_current])