mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 14:37:29 -06:00
Boyscouting
CURA-10406
This commit is contained in:
parent
7fa489968f
commit
b19b229752
1 changed files with 4 additions and 5 deletions
|
@ -464,15 +464,14 @@ class ThreeMFWorkspaceReader(WorkspaceReader):
|
|||
# If the global stack is found, we check if there are conflicts in the extruder stacks
|
||||
for extruder_stack_file in extruder_stack_files:
|
||||
serialized = archive.open(extruder_stack_file).read().decode("utf-8")
|
||||
not_upgraded_serialize = serialized
|
||||
|
||||
not_upgraded_parser = ConfigParser(interpolation=None)
|
||||
not_upgraded_parser.read_string(serialized)
|
||||
|
||||
serialized = ExtruderStack._updateSerialized(serialized, extruder_stack_file)
|
||||
parser = ConfigParser(interpolation = None)
|
||||
parser = ConfigParser(interpolation=None)
|
||||
parser.read_string(serialized)
|
||||
|
||||
not_upgraded_parser = ConfigParser(interpolation = None)
|
||||
not_upgraded_parser.read_string(not_upgraded_serialize)
|
||||
|
||||
# The check should be done for the extruder stack that's associated with the existing global stack,
|
||||
# and those extruder stacks may have different IDs.
|
||||
# So we check according to the positions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue