From 87fb0d7df3881b40d103323e2c4fb5769a1c03a8 Mon Sep 17 00:00:00 2001 From: Jaime van Kessel Date: Thu, 23 Jan 2020 09:28:28 +0100 Subject: [PATCH] Fix incorrect read location for plugin metadata CURA-6627 --- plugins/3MFReader/ThreeMFWorkspaceReader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/3MFReader/ThreeMFWorkspaceReader.py b/plugins/3MFReader/ThreeMFWorkspaceReader.py index ba169f3dab..be90f02d37 100755 --- a/plugins/3MFReader/ThreeMFWorkspaceReader.py +++ b/plugins/3MFReader/ThreeMFWorkspaceReader.py @@ -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)