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:
authorGhostkeeper <rubend@tutanota.com>2017-10-27 17:25:52 +0300
committerGhostkeeper <rubend@tutanota.com>2017-10-27 17:25:52 +0300
commit7ac3c1446b416315f6e87dbf5bacecd5cf97db99 (patch)
treead979667c1644d37eca536d8581d5b5c787ae09d /plugins/3MFWriter
parent6c4c7fff4d69844a14b7ba38217d564f54316c34 (diff)
Make ignored metadata keys a set
It needs to be a set now for Uranium. Contributes to issue CURA-4243.
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 9c143f0057..0fffe693cc 100644
--- a/plugins/3MFWriter/ThreeMFWorkspaceWriter.py
+++ b/plugins/3MFWriter/ThreeMFWorkspaceWriter.py
@@ -95,7 +95,7 @@ class ThreeMFWorkspaceWriter(WorkspaceWriter):
file_in_archive.compress_type = zipfile.ZIP_DEFLATED
# Do not include the network authentication keys
- ignore_keys = ["network_authentication_id", "network_authentication_key"]
+ ignore_keys = {"network_authentication_id", "network_authentication_key"}
serialized_data = container.serialize(ignored_metadata_keys = ignore_keys)
archive.writestr(file_in_archive, serialized_data)