From 75edb84a71fbbdf94347006f0790c1015b710227 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 30 Dec 2012 11:10:32 +0100 Subject: [PATCH] Minor update --- lib/techniques/error/use.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/techniques/error/use.py b/lib/techniques/error/use.py index 0b781e395..c1d22794d 100644 --- a/lib/techniques/error/use.py +++ b/lib/techniques/error/use.py @@ -25,6 +25,7 @@ from lib.core.common import isListLike from lib.core.common import isNumPosStrValue from lib.core.common import listToStrValue from lib.core.common import readInput +from lib.core.common import unArrayizeValue from lib.core.convert import hexdecode from lib.core.convert import htmlunescape from lib.core.data import conf @@ -262,7 +263,7 @@ def errorUse(expression, dump=False): countedExpression = countedExpression[:_] _, _, _, _, _, _, countedExpressionFields, _ = agent.getFields(countedExpression) - count = _oneShotErrorUse(countedExpression, countedExpressionFields) + count = unArrayizeValue(_oneShotErrorUse(countedExpression, countedExpressionFields)) if isNumPosStrValue(count): if isinstance(stopLimit, int) and stopLimit > 0: