mirror of
https://github.com/OMGeeky/pytiled_parser.git
synced 2025-12-26 17:02:28 +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"])
|
||||
|
||||
# FIXME: create example layer with no name (if possible)
|
||||
if "name" in layer_element.attrib:
|
||||
name = layer_element.attrib["name"]
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user