diff --git a/lib/request/inject.py b/lib/request/inject.py index f22357284..d734c3c61 100644 --- a/lib/request/inject.py +++ b/lib/request/inject.py @@ -362,7 +362,7 @@ def __goError(expression, resumeValue=True): if output: output = output.replace("%c%c%c" % (58, 95, 58), " ").replace("%c%c%c" % (58, 120, 58), "") #':_:' -> EMPTY CHAR, ':x:' -> SPACE CHAR - if kb.dbms == "MySQL": + if temp.error == queries['MySQL'].error: output = output[:-1] infoMsg = "retrieved: %s" % replaceNewlineTabs(output, stdout=True)