Skip to content

Commit

Permalink
Fix log statment -- Use __mod__ over format style (#190)
Browse files Browse the repository at this point in the history
  • Loading branch information
marojenka authored and codingjoe committed Apr 15, 2018
1 parent 3b02bd5 commit e762dd1
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit e762dd1

Please sign in to comment.