diff options
author | Ghostkeeper <rubend@tutanota.com> | 2019-04-25 11:54:58 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2019-04-25 11:55:17 +0300 |
commit | cf9ab5a5cda311196e40704074b892ab4ac26912 (patch) | |
tree | 8541862791b09e5ecedd8b27245207fe2106ec41 /plugins/XmlMaterialProfile/XmlMaterialProfile.py | |
parent | 0ad9d000ab17805ef3ae4e9f05aba981b7a4d9b0 (diff) |
Don't serialize 'compatible' metadata key
It is already serialised in the 'hardware compatible' settings.
Diffstat (limited to 'plugins/XmlMaterialProfile/XmlMaterialProfile.py')
-rw-r--r-- | plugins/XmlMaterialProfile/XmlMaterialProfile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/XmlMaterialProfile/XmlMaterialProfile.py b/plugins/XmlMaterialProfile/XmlMaterialProfile.py index 27c401fcd4..40967e75c7 100644 --- a/plugins/XmlMaterialProfile/XmlMaterialProfile.py +++ b/plugins/XmlMaterialProfile/XmlMaterialProfile.py @@ -144,7 +144,7 @@ class XmlMaterialProfile(InstanceContainer): # setting_version is derived from the "version" tag in the schema, so don't serialize it into a file if ignored_metadata_keys is None: ignored_metadata_keys = set() - ignored_metadata_keys |= {"setting_version", "definition", "status", "variant", "type", "base_file", "approximate_diameter", "id", "container_type", "name"} + ignored_metadata_keys |= {"setting_version", "definition", "status", "variant", "type", "base_file", "approximate_diameter", "id", "container_type", "name", "compatible"} # remove the keys that we want to ignore in the metadata for key in ignored_metadata_keys: if key in metadata: |