mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-02-10 15:29:47 +01:00
theme: Fix crash on python 3.5. Closes #224
This commit is contained in:
parent
a9879a0374
commit
d34fcdd765
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user