diff options
author | Jaime van Kessel <nallath@gmail.com> | 2019-11-04 15:11:46 +0300 |
---|---|---|
committer | Jaime van Kessel <nallath@gmail.com> | 2019-11-04 15:11:46 +0300 |
commit | ad85e29c0aad4fbb3e8b47591d1d8cdc518c7869 (patch) | |
tree | 42ea1afd3764a5c6b5acf22556b9b6feac2f4d81 /plugins/VersionUpgrade/VersionUpgrade41to42 | |
parent | e13108f267fc0aef40d6674859b74767d4e4f279 (diff) |
Fix stupid identation issue
Diffstat (limited to 'plugins/VersionUpgrade/VersionUpgrade41to42')
-rw-r--r-- | plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py b/plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py index b70d5190eb..1151d7101a 100644 --- a/plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py +++ b/plugins/VersionUpgrade/VersionUpgrade41to42/VersionUpgrade41to42.py @@ -327,7 +327,7 @@ class VersionUpgrade41to42(VersionUpgrade): if material_id in _creality_quality_per_material and old_quality_id in _creality_quality_per_material[material_id]: if definition_id == "creality_cr10_extruder_0": # We can't disambiguate between Creality CR-10 and Creality-CR10S since they share the same extruder definition. Have to go by the name. if "cr-10s" in parser["metadata"].get("machine", "Creality CR-10").lower(): # Not perfect, since the user can change this name :( - 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 = {} # type: Dict[str, str] # Make a copy so that we don't modify the dict we're iterating over. stack_copy.update(parser["containers"]) |