Skip to content

Commit

Permalink
[FIX] Variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
maciej-wichowski committed Oct 15, 2024
1 parent 4f373c4 commit 0302a9d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion herepy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
__email__ = "abdullahselek.os@gmail.com"
__copyright__ = "Copyright (c) 2017 Abdullah Selek"
__license__ = "MIT License"
__version__ = "3.6.3"
__version__ = "3.6.4"
__url__ = "https://github.com/abdullahselek/HerePy"
__download_url__ = "https://pypi.org/pypi/herepy"
__description__ = "A library that provides a Python interface to the HERE APIs"
Expand Down
8 changes: 4 additions & 4 deletions herepy/routing_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,8 @@ def route_v8(
key: ",".join(values),
}
if exclude:
key = list(avoid.keys())[0]
values = list(avoid.values())[0]
key = list(exclude.keys())[0]
values = list(exclude.values())[0]
data["exclude"] = {
key: ",".join(values),
}
Expand All @@ -477,8 +477,8 @@ def route_v8(
if span_fields:
data["spans"] = ",".join([field.__str__() for field in span_fields])
if truck:
key = list(avoid.keys())[0]
values = list(avoid.values())[0]
key = list(truck.keys())[0]
values = list(truck.values())[0]
data["truck"] = {
key: ",".join(values),
}
Expand Down

0 comments on commit 0302a9d

Please sign in to comment.