mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-07 14:04:03 -06:00
Merge branch 'master' of ssh://github.com/Ultimaker/Cura
This commit is contained in:
commit
20e410694b
1 changed files with 1 additions and 1 deletions
|
@ -747,7 +747,7 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
|||
for metadata_file in metadata_files:
|
||||
try:
|
||||
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:
|
||||
Logger.logException("w", "Unable to retrieve metadata for %s", metadata_file)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue