mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Only use setMetaDataEntry()
This commit is contained in:
parent
76417b7fb2
commit
af02dc2758
23 changed files with 91 additions and 106 deletions
|
@ -75,7 +75,7 @@ class CuraProfileReader(ProfileReader):
|
|||
def _loadProfile(self, serialized, profile_id):
|
||||
# Create an empty profile.
|
||||
profile = InstanceContainer(profile_id)
|
||||
profile.addMetaDataEntry("type", "quality_changes")
|
||||
profile.setMetaDataEntry("type", "quality_changes")
|
||||
try:
|
||||
profile.deserialize(serialized)
|
||||
except ContainerFormatError as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue