summaryrefslogtreecommitdiffstats
path: root/store.py
diff options
context:
space:
mode:
authorGustav Sörnäs <gusso230@student.liu.se>2021-01-06 18:55:57 +0100
committerGustav Sörnäs <gusso230@student.liu.se>2021-01-06 18:57:50 +0100
commitb52a7325c1e0d1b6e87e2bbe96ebafcc22be167a (patch)
treeaf931aef7be808a9162016c52b98b4bfa19fc643 /store.py
parent1afff10fa0418647f35fdfc1ec95bff92e37ec11 (diff)
downloadtdde25-b52a7325c1e0d1b6e87e2bbe96ebafcc22be167a.tar.gz
pep8
Diffstat (limited to 'store.py')
-rw-r--r--store.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/store.py b/store.py
index 4bca5ee..5438740 100644
--- a/store.py
+++ b/store.py
@@ -189,6 +189,7 @@ suitable_highway_types_bike = [
'path'
]
+
def suitable_bike(way):
tags = way['tags']
@@ -213,8 +214,9 @@ suitable_highway_types_car = [
'tertiary_link',
# Special road types
'living_street', 'service',
- 'pedestrian', 'road' # FIXME: Handle predestrian and road differently?
+ 'pedestrian', 'road' # FIXME: Handle predestrian and road differently?
]
+
def suitable_car(way):
return way['tags']['highway'] in suitable_highway_types_car