Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
theme: Fix crash on python 3.5. Closes #224
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Apr 5, 2018
1 parent a9879a0 commit d34fcdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pywal/theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit d34fcdd

Please sign in to comment.