mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 17:18:58 +08:00
Merge branch '3.1' of github.com:Ultimaker/Cura into 3.1
This commit is contained in:
commit
335f790b4e
@ -151,6 +151,9 @@ class LegacyProfileReader(ProfileReader):
|
||||
data = profile.serialize()
|
||||
parser.read_string(data)
|
||||
parser["general"]["version"] = "1"
|
||||
if parser.has_section("values"):
|
||||
parser["settings"] = parser["values"]
|
||||
del parser["values"]
|
||||
stream = io.StringIO()
|
||||
parser.write(stream)
|
||||
data = stream.getvalue()
|
||||
|
Loading…
x
Reference in New Issue
Block a user