mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-29 03:13:47 +01:00
general: Fix incorrect dir path
This commit is contained in:
parent
9d73a5f876
commit
b73883b526
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user