mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07:00
Set setting_version in 2.6's profiles
Contributes to issue CURA-3427.
This commit is contained in:
parent
30321607d0
commit
639e86ca59
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ class VersionUpgrade25to26(VersionUpgrade):
|
||||||
|
|
||||||
#Change the version number in the file.
|
#Change the version number in the file.
|
||||||
if parser.has_section("general"):
|
if parser.has_section("general"):
|
||||||
parser["general"]["version"] = "3"
|
parser["general"]["setting_version"] = "1"
|
||||||
|
|
||||||
#Re-serialise the file.
|
#Re-serialise the file.
|
||||||
output = io.StringIO()
|
output = io.StringIO()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue