Skip to content

Fix logger #190

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Apr 15, 2018
Merged
4 changes: 2 additions & 2 deletions stdimage/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ def render_variation(cls, file_name, variation, replace=False,
if storage.exists(variation_name):
if replace:
storage.delete(variation_name)
logger.info('File "{}" already exists and has been replaced.',
logger.info('File "%s" already exists and has been replaced.',
variation_name)
else:
logger.info('File "{}" already exists.', variation_name)
logger.info('File "%s" already exists.', variation_name)
return variation_name

ImageFile.LOAD_TRUNCATED_IMAGES = True
Expand Down