Merge pull request #12989 from digitalfrost/090822b

CuraContainerStack.py: improve TypeIndexMap
This commit is contained in:
Jelle Spijker 2022-08-23 09:57:05 +02:00 committed by GitHub
commit 896cfb2a7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -427,4 +427,4 @@ class _ContainerIndexes:
}
# Reverse lookup: type -> index
TypeIndexMap = dict([(v, k) for k, v in IndexTypeMap.items()])
TypeIndexMap = {v: k for k, v in IndexTypeMap.items()}