diff --git a/playbook/templates/client.py b/playbook/templates/client.py index e583992..3cf4c6d 100755 --- a/playbook/templates/client.py +++ b/playbook/templates/client.py @@ -24,9 +24,9 @@ def show_select(win, path): if not path.is_dir(): raise Exception("'" + str(path) + "' is not a directory!") dirs = sorted([d for d in path.iterdir() if d.is_dir()]) + win.clear() if len(dirs) <= 0: return show_pictures(path) - win.clear() sel = 0 while True: for y, d in enumerate(dirs):