mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-17 05:35:55 +08:00
Map updated profiles
Contributes to CURA-10077
This commit is contained in:
parent
ab82414a3e
commit
40bdea0716
@ -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…
x
Reference in New Issue
Block a user