Skip to content

Commit

Permalink
Update file_tree_editor.py
Browse files Browse the repository at this point in the history
Fix parsing custom_names.json
  • Loading branch information
henriquegemignani authored Jan 6, 2022
1 parent acdde19 commit 413568f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mercury_engine_data_structures/file_tree_editor.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def _update_headers(self):
with custom_names.open() as f:
self._name_for_asset_id.update({
asset_id: name
for name, asset_id in json.load(f)
for name, asset_id in json.load(f).items()
})

for f in self.root.rglob("*"):
Expand Down

0 comments on commit 413568f

Please sign in to comment.