This commit is contained in:
Miroslav Stampar 2010-12-15 10:02:58 +00:00
parent 3ee44584d4
commit 63f5c35c23

View File

@ -406,8 +406,12 @@ def start():
if condition:
if kb.paramMatchRatio:
conf.matchRatio = kb.paramMatchRatio[(kb.injection.place, kb.injection.parameter)]
setMatchRatio()
key = (kb.injection.place, kb.injection.parameter)
if key in kb.paramMatchRatio:
conf.matchRatio = kb.paramMatchRatio[key]
setMatchRatio()
else:
conf.matchRatio = None
action()