fix for a bug reported by blueBoy

This commit is contained in:
Miroslav Stampar
2011-08-20 20:08:11 +00:00
parent fb6a84b10b
commit 8a174248dc
3 changed files with 6 additions and 1 deletions

View File

@@ -2352,6 +2352,8 @@ class Enumeration:
sqlType = None
getOutput = None
query = query.rstrip(';')
for sqlTitle, sqlStatements in SQL_STATEMENTS.items():
for sqlStatement in sqlStatements:
if query.lower().startswith(sqlStatement):