From 35c88050df260009594709e540617fe030ecf063 Mon Sep 17 00:00:00 2001 From: "Phyks (Lucas Verney)" Date: Wed, 10 Jan 2018 16:46:30 +0100 Subject: [PATCH] Better logging for station metadata detection --- flatisfy/filters/metadata.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flatisfy/filters/metadata.py b/flatisfy/filters/metadata.py index b8619d8..c188ce0 100644 --- a/flatisfy/filters/metadata.py +++ b/flatisfy/filters/metadata.py @@ -262,7 +262,7 @@ def guess_stations(flats_list, constraint, config): if not flat_station: # Skip everything if empty station LOGGER.info( - "No station field for flat %s, skipping stations lookup.", + "No stations field for flat %s, skipping stations lookup.", flat["id"] ) continue @@ -311,7 +311,7 @@ def guess_stations(flats_list, constraint, config): break LOGGER.info( ("Station %s is too far from flat %s (%dm > %dm), " - "discarding it."), + "discarding this station."), station[0], flat["id"], int(distance),