From 94a4eb495dd51133c6a0955f47da312af142021b Mon Sep 17 00:00:00 2001 From: Lyes Saadi <33597258+LyesSaadi@users.noreply.github.com> Date: Fri, 23 Sep 2022 21:31:41 +0200 Subject: [PATCH] Oopsy, wrong variable --- gradience/presets_manager_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gradience/presets_manager_window.py b/gradience/presets_manager_window.py index 7f8f820aa..25cdb1b17 100644 --- a/gradience/presets_manager_window.py +++ b/gradience/presets_manager_window.py @@ -343,8 +343,8 @@ def reload_pref_group(self): buglog("file") # keep compatiblity with old presets if repo.name.endswith(".json"): - if not os.path.isdir(os.path.join(PRESET_DIR, "user")): - os.mkdir(os.path.join(PRESET_DIR, "user")) + if not os.path.isdir(os.path.join(preset_directory, "user")): + os.mkdir(os.path.join(preset_directory, "user")) os.rename(repo, os.path.join( preset_directory, "user", repo.name))