fix incomplete commit 28eb68f57
This commit is contained in:
parent
6648b607ff
commit
8d5f60ca72
@ -45,7 +45,7 @@ def write_wmap(wmap: Map, el_root: ElementTree.Element) -> None:
|
|||||||
val = getattr(device, field)
|
val = getattr(device, field)
|
||||||
if val is None:
|
if val is None:
|
||||||
continue
|
continue
|
||||||
el_map.set(field, getattr(wmap, val)
|
el_map.set(field, val)
|
||||||
for key, value in wmap.misc.items():
|
for key, value in wmap.misc.items():
|
||||||
if key[0].isupper() and key in map_fields:
|
if key[0].isupper() and key in map_fields:
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user