From 189c320769f1b47225048e7fec5c052bfdb0d5ad Mon Sep 17 00:00:00 2001 From: vanous Date: Mon, 19 Aug 2024 17:17:44 +0200 Subject: [PATCH] Adjust share profile path after changes for custom user data path --- .gitignore | 1 + panels/profiles/data/share_profile.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index fded3bc5..cbf62601 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ assets/models/*/* !assets/profiles/BlenderDMX* *.zip blenderDMX.log* +*.json diff --git a/panels/profiles/data/share_profile.py b/panels/profiles/data/share_profile.py index 3e996974..7cfb0563 100644 --- a/panels/profiles/data/share_profile.py +++ b/panels/profiles/data/share_profile.py @@ -60,7 +60,7 @@ def get_profile_list(): dmx = bpy.context.scene.dmx dir_path = dmx.get_addon_path() try: - with open(os.path.join(dir_path, "share_api_client", "data.json")) as f: + with open(os.path.join(dir_path, "data.json")) as f: data = json.load(f) except: data = []