From 23bcaeff7b22189ad7e6a13a730e352830ba3306 Mon Sep 17 00:00:00 2001 From: sakib75 Date: Thu, 1 Aug 2024 13:56:05 +0600 Subject: [PATCH] trim whitespace in where databset --- Framework/Built_In_Automation/Database/BuiltInFunctions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Framework/Built_In_Automation/Database/BuiltInFunctions.py b/Framework/Built_In_Automation/Database/BuiltInFunctions.py index 4f756456b..2b9cbd7e9 100755 --- a/Framework/Built_In_Automation/Database/BuiltInFunctions.py +++ b/Framework/Built_In_Automation/Database/BuiltInFunctions.py @@ -451,7 +451,7 @@ def select_from_db(data_set): if "table" in left.lower(): # Get the and query, and remove any whitespaces table_name= right.strip() - if left.lower()=="where": + if left.strip().lower()=="where": where=right.strip() if "action" in mid.lower(): variable_name = right.strip()