From a6da232d5f8ccf6bac7011e965859cbac2b40e76 Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Fri, 14 Feb 2025 23:02:58 -0600 Subject: [PATCH] bug fix ... --- transport/sql/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/sql/common.py b/transport/sql/common.py index 38ebfed..767d922 100644 --- a/transport/sql/common.py +++ b/transport/sql/common.py @@ -64,7 +64,7 @@ class Base: @TODO: Execution of stored procedures """ - if sql.lower().startswith('select') or sql.lower().startswith('with') : + if sql.strip().lower().startswith('select') or sql.strip().lower().startswith('with') : return pd.read_sql(sql,self._engine) else: