Skip to content

Commit

Permalink
Merge branch 'remove-newlines' of https://github.com/slurms/django-ve…
Browse files Browse the repository at this point in the history
…rsatileimagefield into slurms-remove-newlines
  • Loading branch information
respondcreate committed Oct 30, 2019
2 parents f9e46fb + 6e9c9c0 commit 314eb67
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions versatileimagefield/image_warmer.py
Expand Up @@ -149,8 +149,9 @@ def warm(self):
else:
failed_to_create_image_path_list.append(url_or_filepath)

if a * b == total:
if a * b == total and self.verbose:
stdout.write('\n')

stdout.flush()
if self.verbose:
stdout.flush()
return (num_images_pre_warmed, failed_to_create_image_path_list)

0 comments on commit 314eb67

Please sign in to comment.