no need for .keys()
This commit is contained in:
parent
bb9552ce1f
commit
ceaebeb4c7
@ -200,7 +200,7 @@ def trace_layout(
|
|||||||
|
|
||||||
# Create l2n text layers
|
# Create l2n text layers
|
||||||
layer2texts = {}
|
layer2texts = {}
|
||||||
for layer in labels_map.keys():
|
for layer in labels_map:
|
||||||
if isinstance(layer, str):
|
if isinstance(layer, str):
|
||||||
layer = layer_map[layer]
|
layer = layer_map[layer]
|
||||||
klayer = layout.layer(*layer)
|
klayer = layout.layer(*layer)
|
||||||
|
Loading…
Reference in New Issue
Block a user