Skip to content

Commit 06c7e4d

Browse files
committed
Added bus route as variable
1 parent 646174e commit 06c7e4d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,8 @@ def find_bus(bus_name, data):
145145

146146
# for routes that are just numbers the input parameter
147147
# should be int instead of string
148-
location = find_bus('N', data)
148+
number = 'N'
149+
location = find_bus(number, data)
149150

150151
latitude = location['lat']
151152
longitude = location['lon']

0 commit comments

Comments
 (0)