mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2026-01-03 09:58:15 +01:00
doc: FIXME: create example layer with no name (if possible)
This commit is contained in:
@@ -184,6 +184,7 @@ def _parse_layer(
|
|||||||
"""
|
"""
|
||||||
id_ = int(layer_element.attrib["id"])
|
id_ = int(layer_element.attrib["id"])
|
||||||
|
|
||||||
|
# FIXME: create example layer with no name (if possible)
|
||||||
if "name" in layer_element.attrib:
|
if "name" in layer_element.attrib:
|
||||||
name = layer_element.attrib["name"]
|
name = layer_element.attrib["name"]
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user