mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-22 10:21:39 -07:00
Merge pull request #12989 from digitalfrost/090822b
CuraContainerStack.py: improve TypeIndexMap
This commit is contained in:
commit
896cfb2a7e
1 changed files with 1 additions and 1 deletions
|
|
@ -427,4 +427,4 @@ class _ContainerIndexes:
|
||||||
}
|
}
|
||||||
|
|
||||||
# Reverse lookup: type -> index
|
# Reverse lookup: type -> index
|
||||||
TypeIndexMap = dict([(v, k) for k, v in IndexTypeMap.items()])
|
TypeIndexMap = {v: k for k, v in IndexTypeMap.items()}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue