From 829351421f98406901bfc93a5ba36296c56ae447 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Wed, 25 Nov 2015 10:12:07 +0100 Subject: [PATCH] Minor cosmetics --- lib/techniques/union/use.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/techniques/union/use.py b/lib/techniques/union/use.py index cc4a93aaa..ce34dcc28 100644 --- a/lib/techniques/union/use.py +++ b/lib/techniques/union/use.py @@ -56,7 +56,7 @@ from lib.utils.progress import ProgressBar from thirdparty.odict.odict import OrderedDict def _oneShotUnionUse(expression, unpack=True, limited=False): - retVal = hashDBRetrieve("%s%s" % (conf.hexConvert, expression), checkConf=True) # as union data is stored raw unconverted + retVal = hashDBRetrieve("%s%s" % (conf.hexConvert or False, expression), checkConf=True) # as union data is stored raw unconverted threadData = getCurrentThreadData() threadData.resumed = retVal is not None @@ -102,7 +102,7 @@ def _oneShotUnionUse(expression, unpack=True, limited=False): if Backend.isDbms(DBMS.MSSQL) and wasLastResponseDBMSError(): retVal = htmlunescape(retVal).replace("
", "\n") - hashDBWrite("%s%s" % (conf.hexConvert, expression), retVal) + hashDBWrite("%s%s" % (conf.hexConvert or False, expression), retVal) else: trimmed = _("%s(?P.*?)<" % (kb.chars.start))