diff options
author | Konstantinos Karmas <konskarm@gmail.com> | 2020-07-28 10:57:10 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-28 10:57:10 +0300 |
commit | 7bf1af99a58f06181a71292b191a818db3584d06 (patch) | |
tree | e80b8ec5990f676d6419d91a82e51b10bd526826 /plugins/3MFWriter | |
parent | d6a2c1d46d76d90d9e24c93959761394572df81f (diff) |
CURA-7608 Ignore machine network information when handling project files (#8116)
CURA-7608
Diffstat (limited to 'plugins/3MFWriter')
-rw-r--r-- | plugins/3MFWriter/ThreeMFWorkspaceWriter.py | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/plugins/3MFWriter/ThreeMFWorkspaceWriter.py b/plugins/3MFWriter/ThreeMFWorkspaceWriter.py index 94628cd2d4..69b1e51247 100644 --- a/plugins/3MFWriter/ThreeMFWorkspaceWriter.py +++ b/plugins/3MFWriter/ThreeMFWorkspaceWriter.py @@ -136,7 +136,17 @@ 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", "octoprint_api_key"} + ignore_keys = { + "um_cloud_cluster_id", + "um_network_key", + "um_linked_to_account", + "removal_warning", + "host_guid", + "group_name", + "group_size", + "connection_type", + "octoprint_api_key" + } serialized_data = container.serialize(ignored_metadata_keys = ignore_keys) archive.writestr(file_in_archive, serialized_data) |