mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Use getter instead of protected attribute
CURA-6627
This commit is contained in:
parent
4e0e0c0339
commit
46050f9618
@ -83,7 +83,7 @@ class ThreeMFWorkspaceWriter(WorkspaceWriter):
|
||||
def _writePluginMetadataToArchive(self, archive):
|
||||
file_name_template = "%s/plugin_metadata.json"
|
||||
|
||||
for plugin_id, metadata in Application.getInstance()._workspace_metadata_storage.getAllData().items():
|
||||
for plugin_id, metadata in Application.getInstance().getWorkspaceMetadataStorage().getAllData().items():
|
||||
file_name = file_name_template % plugin_id
|
||||
file_in_archive = zipfile.ZipInfo(file_name)
|
||||
# We have to set the compress type of each file as well (it doesn't keep the type of the entire archive)
|
||||
|
Loading…
x
Reference in New Issue
Block a user