Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaime van Kessel <nallath@gmail.com>2020-01-16 13:25:30 +0300
committerJaime van Kessel <nallath@gmail.com>2020-01-16 13:25:30 +0300
commit46050f9618afffce36701530010cd663c03ce41b (patch)
tree31d759d0b4ce55d07a63f019e5689b208286c648 /plugins/3MFWriter
parent4e0e0c033953e97325e37495cbe717866cfb6f95 (diff)
Use getter instead of protected attribute
CURA-6627
Diffstat (limited to 'plugins/3MFWriter')
-rw-r--r--plugins/3MFWriter/ThreeMFWorkspaceWriter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/3MFWriter/ThreeMFWorkspaceWriter.py b/plugins/3MFWriter/ThreeMFWorkspaceWriter.py
index 45d9db77f6..08918e1c12 100644
--- a/plugins/3MFWriter/ThreeMFWorkspaceWriter.py
+++ b/plugins/3MFWriter/ThreeMFWorkspaceWriter.py
@@ -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)