doc: FIXME: create example layer with no name (if possible)

This commit is contained in:
Benjamin Kirkbride
2020-04-19 04:15:00 -04:00
parent 180a3a7cbb
commit a0dc12e68e

View File

@@ -184,6 +184,7 @@ def _parse_layer(
"""
id_ = int(layer_element.attrib["id"])
# FIXME: create example layer with no name (if possible)
if "name" in layer_element.attrib:
name = layer_element.attrib["name"]
else: