mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 11:05:57 +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"
|
||||
|
||||
for container in parser['containers']:
|
||||
parser['containers'][container] = _RENAMED_PROFILES.get(parser['containers'][container], parser['containers'][container])
|
||||
|
||||
result = io.StringIO()
|
||||
parser.write(result)
|
||||
return [filename], [result.getvalue()]
|
||||
|
Loading…
x
Reference in New Issue
Block a user