theme: Fix crash on python 3.5. Closes
@@ -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):
