From ed3e7268deaa2ec6c073996b710ccf69fc74c940 Mon Sep 17 00:00:00 2001 From: Felix Stupp Date: Sun, 18 Oct 2020 19:39:38 +0200 Subject: [PATCH] client.py: Clear also for showing pictures --- playbook/templates/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):