From d34fcdd76581bce602b29b50d2afd12913457ea7 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 5 Apr 2018 16:07:03 +1000 Subject: theme: Fix crash on python 3.5. Closes #224 --- pywal/theme.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pywal/theme.py') diff --git a/pywal/theme.py b/pywal/theme.py index cd09667..4d42156 100644 --- a/pywal/theme.py +++ b/pywal/theme.py @@ -15,7 +15,7 @@ def list_themes(): themes = [*os.scandir(os.path.join(CONF_DIR, "colorschemes")), *os.scandir(os.path.join(MODULE_DIR, "colorschemes"))] - return [t for t in themes if os.path.isfile(t)] + return [t for t in themes if os.path.isfile(t.path)] def terminal_sexy_to_wal(data): -- cgit v1.2.3