now loading pngs and jpgs
This commit is contained in:
parent
6a2958a68b
commit
4b510dc4ef
@ -277,6 +277,9 @@ class MainApp:
|
||||
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])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user