mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Map updated profiles
Contributes to CURA-10077
This commit is contained in:
parent
ab82414a3e
commit
40bdea0716
1 changed files with 3 additions and 0 deletions
|
@ -639,6 +639,9 @@ class VersionUpgrade52to53(VersionUpgrade):
|
||||||
|
|
||||||
parser["metadata"]["setting_version"] = "21"
|
parser["metadata"]["setting_version"] = "21"
|
||||||
|
|
||||||
|
for container in parser['containers']:
|
||||||
|
parser['containers'][container] = _RENAMED_PROFILES.get(parser['containers'][container], parser['containers'][container])
|
||||||
|
|
||||||
result = io.StringIO()
|
result = io.StringIO()
|
||||||
parser.write(result)
|
parser.write(result)
|
||||||
return [filename], [result.getvalue()]
|
return [filename], [result.getvalue()]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue