mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-08 07:27:29 -06:00
Fix typing
This commit is contained in:
parent
bb6e9da526
commit
7f824b06bb
1 changed files with 2 additions and 2 deletions
|
@ -320,7 +320,7 @@ class VersionUpgrade41to42(VersionUpgrade):
|
||||||
if material_id in _creality_quality_per_material and old_quality_id in _creality_quality_per_material[material_id]:
|
if material_id in _creality_quality_per_material and old_quality_id in _creality_quality_per_material[material_id]:
|
||||||
parser["containers"]["2"] = _creality_quality_per_material[material_id][old_quality_id]
|
parser["containers"]["2"] = _creality_quality_per_material[material_id][old_quality_id]
|
||||||
|
|
||||||
stack_copy = {} #Make a copy so that we don't modify the dict we're iterating over.
|
stack_copy = {} # type: Dict[str, str] #Make a copy so that we don't modify the dict we're iterating over.
|
||||||
stack_copy.update(parser["containers"])
|
stack_copy.update(parser["containers"])
|
||||||
for position, profile_id in stack_copy.items():
|
for position, profile_id in stack_copy.items():
|
||||||
if profile_id in _renamed_profiles:
|
if profile_id in _renamed_profiles:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue