From c5953cfe7edb6b1060fec0ece216be2e371bcada Mon Sep 17 00:00:00 2001 From: "Phyks (Lucas Verney)" Date: Sat, 17 Feb 2018 21:53:49 +0100 Subject: [PATCH] Log flat id when downloading photos --- flatisfy/filters/images.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flatisfy/filters/images.py b/flatisfy/filters/images.py index f9e7da4..4ee5fb8 100644 --- a/flatisfy/filters/images.py +++ b/flatisfy/filters/images.py @@ -28,7 +28,8 @@ def download_images(flats_list, config): flats_list_length = len(flats_list) for i, flat in enumerate(flats_list): LOGGER.info( - "Downloading photos for flat %d/%d.", i + 1, flats_list_length + "Downloading photos for flat %d/%d: %s.", + i + 1, flats_list_length, flat["id"] ) for photo in flat["photos"]: # Download photo