Skip to content

Commit 23bcaef

Browse files
committed
trim whitespace in where databset
1 parent 56220e9 commit 23bcaef

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)