Trivial update

This commit is contained in:
Miroslav Stampar
2019-03-12 11:45:48 +01:00
parent 9da489a7de
commit 49c1816f02
3 changed files with 4 additions and 4 deletions

View File

@@ -3140,7 +3140,7 @@ def initTechnique(technique=None):
for key, value in kb.injection.conf.items():
if value and (not hasattr(conf, key) or (hasattr(conf, key) and not getattr(conf, key))):
setattr(conf, key, value)
debugMsg = "resuming configuration option '%s' (%s)" % (key, value)
debugMsg = "resuming configuration option '%s' (%s)" % (key, ("'%s'" % value) if isinstance(value, basestring) else value)
logger.debug(debugMsg)
if value and key == "optimize":