diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2018-03-18 15:50:38 +1100 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2018-03-18 15:50:38 +1100 |
| commit | 3093cce32718306025e887d7c9f93d5ad75739f5 (patch) | |
| tree | 5740bc873b0be78df66d5434375935e2978bd15e /pywal/theme.py | |
| parent | a58a9037c8e9e74742c589d41816fa414f3b7290 (diff) | |
misc: cleanup
Diffstat (limited to 'pywal/theme.py')
| -rw-r--r-- | pywal/theme.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pywal/theme.py b/pywal/theme.py index efa3129..6d0acdc 100644 --- a/pywal/theme.py +++ b/pywal/theme.py @@ -36,6 +36,8 @@ def file(input_file): user_theme_file = os.path.join(CONF_DIR, "colorschemes", theme_name) theme_file = os.path.join(MODULE_DIR, "colorschemes", theme_name) + util.create_dir(os.path.dirname(user_theme_file)) + # Find the theme file. if os.path.isfile(input_file): theme_file = input_file |
