mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Make ignored metadata keys a set
It needs to be a set now for Uranium. Contributes to issue CURA-4243.
This commit is contained in:
parent
6c4c7fff4d
commit
7ac3c1446b
2 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue