Log flat id when downloading photos

This commit is contained in:
Lucas Verney 2018-02-17 21:53:49 +01:00
parent bfc27bbb92
commit c5953cfe7e
1 changed files with 2 additions and 1 deletions

View File

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