mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-11 11:28:58 +08:00
Add comments for upgradeMachineStack()
CURA-4188
This commit is contained in:
parent
df88772071
commit
1332489391
@ -114,6 +114,10 @@ class VersionUpgrade25to26(VersionUpgrade):
|
|||||||
parser.write(output)
|
parser.write(output)
|
||||||
return [filename], [output.getvalue()]
|
return [filename], [output.getvalue()]
|
||||||
|
|
||||||
|
## Upgrades a machine stack from version 2.5 to 2.6
|
||||||
|
#
|
||||||
|
# \param serialised The serialised form of a quality profile.
|
||||||
|
# \param filename The name of the file to upgrade.
|
||||||
def upgradeMachineStack(self, serialised, filename):
|
def upgradeMachineStack(self, serialised, filename):
|
||||||
parser = configparser.ConfigParser(interpolation=None)
|
parser = configparser.ConfigParser(interpolation=None)
|
||||||
parser.read_string(serialised)
|
parser.read_string(serialised)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user