Image model logger refactoring

This commit is contained in:
tmshv committed 2019-10-14 22:24:23 +03:00
1 parent aecd72847c
commit 9bdacb4493
1 file changed
+1 -1
+1 -1
View File
@@ -199,7 +199,7 @@ async def create_image(file: str, sizes: [()], url_fn, output_dir: str) -> Optio
else:
image = await read_image(file)
if not image:
logger.warning('Failed to process image {}'.format(file))
logger.warning(f'Failed to process image {file}')
return None
width, height = image.size