summaryrefslogtreecommitdiff
path: root/pywal/theme.py
diff options
context:
space:
mode:
Diffstat (limited to 'pywal/theme.py')
-rw-r--r--pywal/theme.py2
1 files changed, 1 insertions, 1 deletions
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):