Little precaution

This commit is contained in:
Bernardo Damele 2010-11-18 14:32:52 +00:00
parent f6a17cb1a8
commit 544327379f

View File

@ -341,6 +341,7 @@ def resumeConfKb(expression, url, value):
logMsg = "resuming match ratio '%s' from session file" % matchRatio
logger.info(logMsg)
if matchRatio not in ( "None", None ):
conf.matchRatio = round(float(matchRatio), 3)
elif expression == "Injection point" and url == conf.url: