|
|
@ -24,9 +24,9 @@ def show_select(win, path):
|
|
|
|
if not path.is_dir():
|
|
|
|
if not path.is_dir():
|
|
|
|
raise Exception("'" + str(path) + "' is not a directory!")
|
|
|
|
raise Exception("'" + str(path) + "' is not a directory!")
|
|
|
|
dirs = sorted([d for d in path.iterdir() if d.is_dir()])
|
|
|
|
dirs = sorted([d for d in path.iterdir() if d.is_dir()])
|
|
|
|
|
|
|
|
win.clear()
|
|
|
|
if len(dirs) <= 0:
|
|
|
|
if len(dirs) <= 0:
|
|
|
|
return show_pictures(path)
|
|
|
|
return show_pictures(path)
|
|
|
|
win.clear()
|
|
|
|
|
|
|
|
sel = 0
|
|
|
|
sel = 0
|
|
|
|
while True:
|
|
|
|
while True:
|
|
|
|
for y, d in enumerate(dirs):
|
|
|
|
for y, d in enumerate(dirs):
|
|
|
|