diff --git a/lib/techniques/error/use.py b/lib/techniques/error/use.py index 578ec0b92..c23a5c36a 100644 --- a/lib/techniques/error/use.py +++ b/lib/techniques/error/use.py @@ -125,8 +125,7 @@ def __errorFields(expression, expressionFields, expressionFieldsList, expected=N if output: output = output.replace(kb.misc.space, " ") - if output is not None: - outputs.append(output) + outputs.append(output) return outputs