From f92b76a8b0ac0f205f60f4551514d732aa33d16d Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Sun, 21 Dec 2008 16:39:40 +0000 Subject: [PATCH] Minor bug fix --- plugins/generic/enumeration.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/generic/enumeration.py b/plugins/generic/enumeration.py index 7e73bce4b..3856d5387 100644 --- a/plugins/generic/enumeration.py +++ b/plugins/generic/enumeration.py @@ -1041,7 +1041,7 @@ class Enumeration: def sqlQuery(self, query): output = None - selectQuery = False + selectQuery = True sqlType = None for sqlTitle, sqlStatements in SQL_STATEMENTS.items(): @@ -1049,8 +1049,8 @@ class Enumeration: if query.lower().startswith(sqlStatement): sqlType = sqlTitle - if sqlTitle == "SQL SELECT statement": - selectQuery = True + if sqlTitle != "SQL SELECT statement": + selectQuery = False break