general: Fix incorrect dir path

This commit is contained in:
Dylan Araps 2018-04-29 20:02:05 +10:00
parent 9d73a5f876
commit b73883b526

View File

@ -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):