now loading pngs and jpgs

This commit is contained in:
Tom Selier 2023-09-29 15:23:16 +02:00
parent 6a2958a68b
commit 4b510dc4ef

View File

@ -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])