Better logging for station metadata detection

This commit is contained in:
Lucas Verney 2018-01-10 16:46:30 +01:00
parent 083caec041
commit 35c88050df
1 changed files with 2 additions and 2 deletions

View File

@ -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),