diff options
author | Ghostkeeper <rubend@tutanota.com> | 2020-02-04 17:17:31 +0300 |
---|---|---|
committer | Ghostkeeper <rubend@tutanota.com> | 2020-02-04 17:17:31 +0300 |
commit | b549d20ec519e4412a89bfcfc114fa68d35e4186 (patch) | |
tree | 089ec083b2e2146aeb35bec938630e81a4900fa3 /plugins/VersionUpgrade/VersionUpgrade44to45 | |
parent | 232b59bfb66e8d62d5bd65f06089978cb9820a64 (diff) |
Document which stack layer is which container type
Contributes to issue CURA-7024.
Diffstat (limited to 'plugins/VersionUpgrade/VersionUpgrade44to45')
-rw-r--r-- | plugins/VersionUpgrade/VersionUpgrade44to45/VersionUpgrade44to45.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/VersionUpgrade/VersionUpgrade44to45/VersionUpgrade44to45.py b/plugins/VersionUpgrade/VersionUpgrade44to45/VersionUpgrade44to45.py index 09aab9b123..6fa19c686d 100644 --- a/plugins/VersionUpgrade/VersionUpgrade44to45/VersionUpgrade44to45.py +++ b/plugins/VersionUpgrade/VersionUpgrade44to45/VersionUpgrade44to45.py @@ -76,9 +76,9 @@ class VersionUpgrade44to45(VersionUpgrade): hidden_global_stacks.add(stack_id) # The user container and definition changes container are specific to this stack. We need to delete those too. if "containers" in parser: - if "0" in parser["containers"]: + if "0" in parser["containers"]: # User container. hidden_instance_containers.add(parser["containers"]["0"]) - if "6" in parser["containers"]: + if "6" in parser["containers"]: # Definition changes container. hidden_instance_containers.add(parser["containers"]["6"]) os.remove(os.path.join(root, filename)) |