Skip to content

Commit b747d0f

Browse files
committed
fix
1 parent 3ec6299 commit b747d0f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/traveltime_google_comparison/collect.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,14 @@
2121
TRAVELTIME_API = "traveltime"
2222
OPENROUTES_API = "openroutes"
2323

24-
ALL_COMPETITORS = [
24+
ALL_PROVIDERS = [
2525
GOOGLE_API,
2626
TOMTOM_API,
2727
HERE_API,
2828
MAPBOX_API,
2929
OSRM_API,
3030
OPENROUTES_API,
31+
TRAVELTIME_API
3132
]
3233

3334

src/traveltime_google_comparison/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
GOOGLE_API,
1616
TRAVELTIME_API,
1717
TOMTOM_API,
18-
ALL_COMPETITORS,
18+
ALL_PROVIDERS,
1919
)
2020
from traveltime_google_comparison.requests import factory
2121

@@ -32,7 +32,7 @@ async def run():
3232
args = config.parse_args()
3333

3434
# Get all providers that should be tested against TravelTime
35-
providers = [provider for provider in ALL_COMPETITORS if provider in args.providers]
35+
providers = [provider for provider in ALL_PROVIDERS if provider in args.providers]
3636

3737
# TravelTime always should be in the analysis, unless in the future we decide to
3838
# allow the user to control what is the base for comparison.

0 commit comments

Comments
 (0)