mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Fix incorrect read location for plugin metadata
CURA-6627
This commit is contained in:
parent
06ccd882e1
commit
87fb0d7df3
1 changed files with 1 additions and 1 deletions
|
@ -747,7 +747,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
||||||
for metadata_file in metadata_files:
|
for metadata_file in metadata_files:
|
||||||
try:
|
try:
|
||||||
plugin_id = metadata_file.split("/")[0]
|
plugin_id = metadata_file.split("/")[0]
|
||||||
result[plugin_id] = json.loads(archive.open("Cura/plugin_metadata.json").read().decode("utf-8"))
|
result[plugin_id] = json.loads(archive.open("%s/plugin_metadata.json" % plugin_id).read().decode("utf-8"))
|
||||||
except Exception:
|
except Exception:
|
||||||
Logger.logException("w", "Unable to retrieve metadata for %s", metadata_file)
|
Logger.logException("w", "Unable to retrieve metadata for %s", metadata_file)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue