Skip to content

Commit

Permalink
Adjust share profile path after changes for custom user data path
Browse files Browse the repository at this point in the history
  • Loading branch information
vanous committed Aug 19, 2024
1 parent 5830b52 commit 189c320
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ assets/models/*/*
!assets/profiles/BlenderDMX*
*.zip
blenderDMX.log*
*.json
2 changes: 1 addition & 1 deletion panels/profiles/data/share_profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down

0 comments on commit 189c320

Please sign in to comment.