From b2e0b615f86058f1e26ddc4ecdebd25a668902e9 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 19 Oct 2010 17:38:39 +0000 Subject: [PATCH] fix for that MySQL checking --- lib/request/inject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)