mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-10 14:28:59 +08:00
Fix for loop
This commit is contained in:
parent
8cad79831a
commit
d00f3ba79b
@ -136,7 +136,7 @@ class VersionUpgrade30to31(VersionUpgrade):
|
|||||||
parser["containers"]["2"] = "empty_quality"
|
parser["containers"]["2"] = "empty_quality"
|
||||||
|
|
||||||
# fix empty containers
|
# fix empty containers
|
||||||
for key, specific_empty_container in _EMPTY_CONTAINER_DICT:
|
for key, specific_empty_container in _EMPTY_CONTAINER_DICT.items():
|
||||||
if parser.has_option("containers", key) and parser["containers"][key] == "empty":
|
if parser.has_option("containers", key) and parser["containers"][key] == "empty":
|
||||||
parser["containers"][key] = specific_empty_container
|
parser["containers"][key] = specific_empty_container
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user