Skip to content

Commit e762dd1

Browse files
marojenkacodingjoe
authored andcommittedApr 15, 2018
Fix log statment -- Use __mod__ over format style (#190)
1 parent 3b02bd5 commit e762dd1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎stdimage/models.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ def render_variation(cls, file_name, variation, replace=False,
6262
if storage.exists(variation_name):
6363
if replace:
6464
storage.delete(variation_name)
65-
logger.info('File "{}" already exists and has been replaced.',
65+
logger.info('File "%s" already exists and has been replaced.',
6666
variation_name)
6767
else:
68-
logger.info('File "{}" already exists.', variation_name)
68+
logger.info('File "%s" already exists.', variation_name)
6969
return variation_name
7070

7171
ImageFile.LOAD_TRUNCATED_IMAGES = True

0 commit comments

Comments
 (0)
Please sign in to comment.