From 9d73a5f8763febc4cecce46f3f35fc6d2bfcec80 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 29 Apr 2018 19:46:11 +1000 Subject: general: Fix tests. --- pywal/theme.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pywal/theme.py') diff --git a/pywal/theme.py b/pywal/theme.py index cbf9354..0e7a1e9 100644 --- a/pywal/theme.py +++ b/pywal/theme.py @@ -55,6 +55,7 @@ def file(input_file): theme_name = ".".join((input_file, "json")) 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): -- cgit v1.2.3