now loading pngs and jpgs
This commit is contained in:
parent
6a2958a68b
commit
4b510dc4ef
@ -276,6 +276,9 @@ class MainApp:
|
|||||||
images = []
|
images = []
|
||||||
for file in glob.glob(path + "/*.jpg"):
|
for file in glob.glob(path + "/*.jpg"):
|
||||||
images.append(file)
|
images.append(file)
|
||||||
|
|
||||||
|
for file in glob.glob(path + "/*.png"):
|
||||||
|
images.append(file)
|
||||||
|
|
||||||
self.img_max = len(images)
|
self.img_max = len(images)
|
||||||
self.img_name = os.path.split(images[self.img_current])
|
self.img_name = os.path.split(images[self.img_current])
|
||||||
|
Loading…
Reference in New Issue
Block a user