mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-11-10 19:56:47 +03:00
Changed string format argument to logger parameter
This commit is contained in:
parent
560774e3e0
commit
82c7ea8489
|
@ -550,7 +550,7 @@ class Image(object):
|
|||
try:
|
||||
self.fp.close()
|
||||
except Exception as msg:
|
||||
logger.debug("Error closing: %s" % msg)
|
||||
logger.debug("Error closing: %s", msg)
|
||||
|
||||
# Instead of simply setting to None, we're setting up a
|
||||
# deferred error that will better explain that the core image
|
||||
|
|
Loading…
Reference in New Issue
Block a user