From 3d3f9ce2c5d7992f4ed123201f16065939b786d6 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 18 Mar 2018 15:37:51 +1100 Subject: misc: cleanup --- pywal/theme.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pywal/theme.py b/pywal/theme.py index 66beac6..010e90f 100644 --- a/pywal/theme.py +++ b/pywal/theme.py @@ -11,11 +11,8 @@ from . import util def index(): """List all installed theme files.""" - themes = [theme for theme in - os.scandir(os.path.join(CONF_DIR, "colorschemes"))] - themes += [theme for theme in - os.scandir(os.path.join(MODULE_DIR, "colorschemes"))] - return themes + return [*os.scandir(os.path.join(CONF_DIR, "colorschemes")), + *os.scandir(os.path.join(MODULE_DIR, "colorschemes"))] def terminal_sexy_to_wal(data): -- cgit v1.2.3