diff --git a/plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py b/plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py index c7ff8dcce0..4b4892d817 100644 --- a/plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py +++ b/plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py @@ -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]: 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"]) for position, profile_id in stack_copy.items(): if profile_id in _renamed_profiles: @@ -328,4 +328,4 @@ class VersionUpgrade41to42(VersionUpgrade): result = io.StringIO() parser.write(result) - return [filename], [result.getvalue()] \ No newline at end of file + return [filename], [result.getvalue()]