diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2018-04-05 16:07:03 +1000 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2018-04-05 16:07:03 +1000 |
| commit | d34fcdd76581bce602b29b50d2afd12913457ea7 (patch) | |
| tree | dacc9e30a3b9107915c1c5ea45e4d893b94a3700 /pywal/theme.py | |
| parent | a9879a0374700fe4b71cd58476196b014edbc6a4 (diff) | |
theme: Fix crash on python 3.5. Closes #224
Diffstat (limited to 'pywal/theme.py')
| -rw-r--r-- | pywal/theme.py | 2 |
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): |
