aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <[email protected]>2018-04-29 20:02:05 +1000
committerDylan Araps <[email protected]>2018-04-29 20:02:05 +1000
commitb73883b5263f383c11923e2f408105a21e48d955 (patch)
treeb28971a53b9da65aceb64f9c74f45e77692af133
parentgeneral: Fix tests. (diff)
downloadpywal-b73883b5263f383c11923e2f408105a21e48d955.tar.xz
pywal-b73883b5263f383c11923e2f408105a21e48d955.zip
general: Fix incorrect dir path
-rw-r--r--pywal/theme.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pywal/theme.py b/pywal/theme.py
index 0e7a1e9..cd3be8b 100644
--- a/pywal/theme.py
+++ b/pywal/theme.py
@@ -55,7 +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))
+ util.create_dir(os.path.join(CONF_DIR, "colorschemes"))
# Find the theme file.
if os.path.isfile(input_file):