minor bug fix

This commit is contained in:
Miroslav Stampar 2012-03-08 09:52:33 +00:00
parent b4cf8b05b3
commit 9ca8bc4d51

View File

@ -47,7 +47,7 @@ from lib.core.unescaper import unescaper
from lib.request.connect import Connect as Request
def __oneShotUnionUse(expression, unpack=True, limited=False):
retVal = hashDBRetrieve(expression, checkConf=True)
retVal = hashDBRetrieve("%s%s" % (conf.hexConvert, expression), checkConf=True) # as inband data is stored raw unconverted
threadData = getCurrentThreadData()
threadData.resumed = retVal is not None
@ -100,7 +100,7 @@ def __oneShotUnionUse(expression, unpack=True, limited=False):
warnMsg += "issues) or switch '--hex'"
singleTimeWarnMessage(warnMsg)
hashDBWrite(expression, retVal)
hashDBWrite("%s%s" % (conf.hexConvert, expression), retVal)
return retVal