Add error handling.

This commit is contained in:
Sergey Vartanov 2021-09-26 09:12:43 +03:00
parent c0b4d35573
commit a588a0c82e
2 changed files with 13 additions and 1 deletions

View file

@ -416,7 +416,7 @@ class OSMData:
:param root: top element of XML data
:param parse_nodes: whether nodes should be parsed
:param parse_ways: whether ways should be parsed
:param parse_ways: whether ways should be parsed
:param parse_relations: whether relations should be parsed
"""
for element in root: