Patch for an Issue #242

This commit is contained in:
Miroslav Stampar 2012-11-13 10:41:13 +01:00
parent a52dbc575b
commit 6f7f9dd8eb
2 changed files with 1 additions and 4 deletions

View File

@ -1409,9 +1409,6 @@ def __cleanupOptions():
for _ in DUMP_REPLACEMENTS.keys():
del DUMP_REPLACEMENTS[_]
if conf.sessionFile:
conf.hashDBFile = conf.sessionFile
threadData = getCurrentThreadData()
threadData.reset()

View File

@ -252,7 +252,7 @@ def __setHashDB():
"""
if not conf.hashDBFile:
conf.hashDBFile = "%s%ssession.sqlite" % (conf.outputPath, os.sep)
conf.hashDBFile = conf.sessionFile or "%s%ssession.sqlite" % (conf.outputPath, os.sep)
if os.path.exists(conf.hashDBFile):
if conf.flushSession: