diff options
author | Ghostkeeper <rubend@tutanota.com> | 2016-09-27 16:12:29 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2016-09-27 16:12:29 +0300 |
commit | 4ec380ffd9bd678d1b6d218792c09dd41ccda571 (patch) | |
tree | 5311697842960d0c09d24bab4f7794755b417912 /plugins | |
parent | c902fef37227580f4d5c055cbcc019329d30693c (diff) |
Quality-changes now have a quality_type instead of referring to quality
This field was just renamed, I think for CURA-2320. This updates the name for the upgrade process.
Contributes to issue CURA-844.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/VersionUpgrade/VersionUpgrade21to22/Profile.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/VersionUpgrade/VersionUpgrade21to22/Profile.py b/plugins/VersionUpgrade/VersionUpgrade21to22/Profile.py index a09ac4f3d7..4894df84aa 100644 --- a/plugins/VersionUpgrade/VersionUpgrade21to22/Profile.py +++ b/plugins/VersionUpgrade/VersionUpgrade21to22/Profile.py @@ -94,7 +94,7 @@ class Profile: config.set("general", "definition", "fdmprinter") #In this case, the machine definition is unknown, and it might now have machine-specific profiles, in which case this will fail. config.add_section("metadata") - config.set("metadata", "quality", "normal") #This feature doesn't exist in 2.1 yet, so we don't know the actual quality type. For now, always base it on normal. + config.set("metadata", "quality_type", "normal") #This feature doesn't exist in 2.1 yet, so we don't know the actual quality type. For now, always base it on normal. config.set("metadata", "type", "quality_changes") if self._weight: config.set("metadata", "weight", str(self._weight)) |