Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 70197af

Browse files
committed
little update (--ratio has a bigger priority then resumed value)
1 parent 057ec8a commit 70197af

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def resumeConfKb(expression, url, value):
315315
if not test or test[0] in ("y", "Y"):
316316
conf.regexp = regexp
317317

318-
elif expression == "Match ratio" and url == conf.url:
318+
elif expression == "Match ratio" and url == conf.url and conf.matchRatio is None:
319319
matchRatio = value[:-1]
320320

321321
logMsg = "resuming match ratio '%s' from session file" % matchRatio

0 commit comments

Comments
 (0)