client.py: Removed simple setup() fun

master
Felix Stupp 4 years ago
parent 4f9a64faf8
commit 8efecc27c3
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -26,9 +26,7 @@ def show_select(win, path):
dirs = sorted([d for d in path.iterdir() if d.is_dir()])
if len(dirs) <= 0:
return show_pictures(path)
def setup():
win.clear()
setup()
win.clear()
sel = 0
while True:
for y, d in enumerate(dirs):
@ -41,7 +39,7 @@ def show_select(win, path):
elif c in binding_accept:
if not show_select(win, dirs[sel]):
return False
setup()
win.clear()
elif c in binding_back:
return True
elif c in binding_exit:

Loading…
Cancel
Save