Implementation for an Issue #292

This commit is contained in:
Miroslav Stampar
2012-12-11 12:02:06 +01:00
parent 9e38ccbc3d
commit 562044577b
10 changed files with 113 additions and 50 deletions

View File

@@ -107,7 +107,7 @@ def _oneShotErrorUse(expression, field=None):
None)
if output is not None:
output = getUnicode(output, kb.pageEncoding)
output = getUnicode(output)
else:
trimmed = extractRegexResult(trimcheck, page, re.DOTALL | re.IGNORECASE) \
or extractRegexResult(trimcheck, listToStrValue(headers.headers \