summaryrefslogtreecommitdiffstats
path: root/osm_parser.py
diff options
context:
space:
mode:
Diffstat (limited to 'osm_parser.py')
-rw-r--r--osm_parser.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/osm_parser.py b/osm_parser.py
index 7145726..b3eed86 100644
--- a/osm_parser.py
+++ b/osm_parser.py
@@ -121,7 +121,8 @@ class OSMParser:
for node in el.iter(OSM_WAYNODE))
tags = {tag.get(OSM_TAG_KEY): tag.get(OSM_TAG_VALUE)
for tag in el.iter(OSM_TAG)
- if self.allow_all or tag.get(OSM_TAG_KEY) in self.way_tags}
+ if self.allow_all
+ or tag.get(OSM_TAG_KEY) in self.way_tags}
# Yield the edge id, the road and the tags
yield {