Skip to content

Commit

Permalink
Merge pull request #82 from maciej-wichowski/fix-route_v8-variables
Browse files Browse the repository at this point in the history
  • Loading branch information
abdullahselek authored Oct 15, 2024
2 parents 4f373c4 + 0302a9d commit a8f1b58
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__ = "[email protected]"
__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 a8f1b58

Please sign in to comment.