Add stub preferences converter

Needs to be implemented like the rest of them.

Contributes to issue CURA-844.
This commit is contained in:
Ghostkeeper 2016-06-23 16:54:32 +02:00
parent 24946d3f13
commit 11d59709ef

View file

@ -35,6 +35,14 @@ class VersionUpgrade21to22(VersionUpgrade):
return None
return machine_instance.export()
## Converts preferences from format version 1 to version 2.
#
# \param serialised The serialised preferences file in version 1.
# \return The serialised preferences in version 2, or None if the input
# was not of the correct format.
def upgradePreferences(self, serialised):
return serialised #TODO
## Converts profiles from format version 1 to version 2.
#
# \param serialised The serialised profile in version 1.