little update (--ratio has a bigger priority then resumed value)

This commit is contained in:
Miroslav Stampar 2010-08-10 19:57:59 +00:00
parent 057ec8a6b2
commit 70197affa0

View File

@ -315,7 +315,7 @@ def resumeConfKb(expression, url, value):
if not test or test[0] in ("y", "Y"):
conf.regexp = regexp
elif expression == "Match ratio" and url == conf.url:
elif expression == "Match ratio" and url == conf.url and conf.matchRatio is None:
matchRatio = value[:-1]
logMsg = "resuming match ratio '%s' from session file" % matchRatio