diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2018-03-18 15:37:51 +1100 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2018-03-18 15:37:51 +1100 |
| commit | 3d3f9ce2c5d7992f4ed123201f16065939b786d6 (patch) | |
| tree | d987edbcd94c88ac65ca2744c9360c322890bd70 | |
| parent | d364829fa5231788b98ad0e2aae86f3ac6dbd6bf (diff) | |
misc: cleanup
| -rw-r--r-- | pywal/theme.py | 7 |
1 files 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): |
