diff --git a/plugins/VersionUpgrade/VersionUpgrade21to22/Profile.py b/plugins/VersionUpgrade/VersionUpgrade21to22/Profile.py index b207a6172d..aea3340a10 100644 --- a/plugins/VersionUpgrade/VersionUpgrade21to22/Profile.py +++ b/plugins/VersionUpgrade/VersionUpgrade21to22/Profile.py @@ -142,7 +142,7 @@ class Profile: config.set("metadata", "material", self._material_name) filenames.append(self._filename) configs.append(config) - elif self._type != "material" and self._machine_type_id in VersionUpgrade21to22.machines_with_machine_quality(): + elif self._type != "material" and self._machine_type_id in VersionUpgrade21to22.machinesWithMachineQuality(): #Split this profile into multiple profiles, one for each material. for material_id in _new_materials: filenames.append("{profile}_{material}".format(profile = self._filename, material = material_id)) diff --git a/plugins/VersionUpgrade/VersionUpgrade21to22/VersionUpgrade21to22.py b/plugins/VersionUpgrade/VersionUpgrade21to22/VersionUpgrade21to22.py index 2f4b063d7c..2678b7f488 100644 --- a/plugins/VersionUpgrade/VersionUpgrade21to22/VersionUpgrade21to22.py +++ b/plugins/VersionUpgrade/VersionUpgrade21to22/VersionUpgrade21to22.py @@ -92,7 +92,7 @@ class VersionUpgrade21to22(VersionUpgrade): # # \return A set of machine identifiers. @staticmethod - def machines_with_machine_quality(self): + def machinesWithMachineQuality(self): return _machines_with_machine_quality ## Converts machine instances from format version 1 to version 2.