Skip to content

Commit 07a588e

Browse files
committed
fix: replace deprecated logger.warn by logger.warning
1 parent 16596e9 commit 07a588e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routingpy/routers/heremaps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1397,7 +1397,7 @@ def parse_matrix_json(response):
13971397
if index < (length - 1):
13981398
next_ = mtx_objects[index + 1]
13991399
if "summary" not in obj:
1400-
logger.warn(
1400+
logger.warning(
14011401
"HERE matrix couldn't compute route for %s => %s",
14021402
obj["startIndex"],
14031403
obj["destinationIndex"],

0 commit comments

Comments
 (0)