mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-28 13:21:10 -07:00
Merge branch '3.1' of github.com:Ultimaker/Cura into 3.1
This commit is contained in:
commit
335f790b4e
1 changed files with 3 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue