Skip to content

Commit 3637d1a

Browse files
authored
Merge pull request #472 from AutomationSolutionz/db-where-query
trim whitespace in where databset
2 parents 56220e9 + 23bcaef commit 3637d1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/Built_In_Automation/Database/BuiltInFunctions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ def select_from_db(data_set):
451451
if "table" in left.lower():
452452
# Get the and query, and remove any whitespaces
453453
table_name= right.strip()
454-
if left.lower()=="where":
454+
if left.strip().lower()=="where":
455455
where=right.strip()
456456
if "action" in mid.lower():
457457
variable_name = right.strip()

0 commit comments

Comments
 (0)