Set setting_version in 2.6's profiles

Contributes to issue CURA-3427.
This commit is contained in:
Ghostkeeper 2017-05-11 16:53:59 +02:00
parent 30321607d0
commit 639e86ca59
No known key found for this signature in database
GPG key ID: C5F96EE2BC0F7E75

View file

@ -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()