Added establishment saving

This commit is contained in:
Ruslan Stepanov 2020-01-17 13:26:29 +00:00 committed by Kuroshini
parent 294c468405
commit 281aca4fe5

View File

@ -88,6 +88,8 @@ def update_establishment_image_urls(part_number: int, summary_tasks: int, bucket
elif establishment.preview_image_url is None:
establishment.preview_image_url = live_link
establishment.save()
logger.info(f'The {part_number}th part of the image update '
f'from {summary_tasks} parts was completed')