From 03476dc8a5c53ce8406b6b5b270178b9bd3c3153 Mon Sep 17 00:00:00 2001 From: "Phyks (Lucas Verney)" Date: Sun, 21 Jan 2018 10:41:22 +0100 Subject: [PATCH] Fix last commit about time_to handling --- flatisfy/filters/metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flatisfy/filters/metadata.py b/flatisfy/filters/metadata.py index 2a6eccb..4ce60d7 100644 --- a/flatisfy/filters/metadata.py +++ b/flatisfy/filters/metadata.py @@ -436,7 +436,7 @@ def compute_travel_times(flats_list, constraint, config): if time_to_place: LOGGER.info( "Travel time between %s and flat %s is %ds.", - place_name, flat["id"], time_to_place["time"] + place_name, flat["id"], time_to_place ) flat["flatisfy"]["time_to"][place_name] = time_to_place return flats_list