mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 18:27:51 -06:00
Container cfg files need to be parsed without interpolation
CURA-4701
This commit is contained in:
parent
2986a17c1d
commit
c6cdc1d1db
1 changed files with 2 additions and 2 deletions
|
@ -179,7 +179,7 @@ class VersionUpgrade30to31(VersionUpgrade):
|
|||
if not os.path.isfile(file_path):
|
||||
continue
|
||||
|
||||
parser = configparser.ConfigParser()
|
||||
parser = configparser.ConfigParser(interpolation = None)
|
||||
try:
|
||||
parser.read([file_path])
|
||||
except:
|
||||
|
@ -213,7 +213,7 @@ class VersionUpgrade30to31(VersionUpgrade):
|
|||
|
||||
new_filename = machine_name + "_" + "fdmextruder" + suffix
|
||||
|
||||
extruder_quality_changes_parser = configparser.ConfigParser()
|
||||
extruder_quality_changes_parser = configparser.ConfigParser(interpolation = None)
|
||||
extruder_quality_changes_parser.add_section("general")
|
||||
extruder_quality_changes_parser["general"]["version"] = str(2)
|
||||
extruder_quality_changes_parser["general"]["name"] = global_quality_changes["general"]["name"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue