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

Skip to content

Commit 6f7f9dd

Browse files
committed
Patch for an Issue #242
1 parent a52dbc5 commit 6f7f9dd

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

lib/core/option.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1409,9 +1409,6 @@ class _(unicode): pass
14091409
for _ in DUMP_REPLACEMENTS.keys():
14101410
del DUMP_REPLACEMENTS[_]
14111411

1412-
if conf.sessionFile:
1413-
conf.hashDBFile = conf.sessionFile
1414-
14151412
threadData = getCurrentThreadData()
14161413
threadData.reset()
14171414

lib/core/target.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ def __setHashDB():
252252
"""
253253

254254
if not conf.hashDBFile:
255-
conf.hashDBFile = "%s%ssession.sqlite" % (conf.outputPath, os.sep)
255+
conf.hashDBFile = conf.sessionFile or "%s%ssession.sqlite" % (conf.outputPath, os.sep)
256256

257257
if os.path.exists(conf.hashDBFile):
258258
if conf.flushSession:

0 commit comments

Comments
 (0)