Changed string format argument to logger parameter

This commit is contained in:
Andrew Murray 2015-12-02 16:32:44 +11:00
parent 560774e3e0
commit 82c7ea8489

View File

@ -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