diff --git a/setup.py b/setup.py index ed82db4..066ebc7 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() args = { "name":"data-transport", - "version":"1.4.4", + "version":"1.4.5", "author":"The Phi Technology LLC","author_email":"info@the-phi.com", "license":"MIT", "packages":["transport"]} diff --git a/transport/sql.py b/transport/sql.py index c5c8f89..48d7777 100644 --- a/transport/sql.py +++ b/transport/sql.py @@ -80,7 +80,9 @@ class SQLRW : try: table = _args['table'] sql = "SELECT * FROM :table LIMIT 1".replace(":table",table) - found = pd.read_sql(sql,self.conn).shape[0] + found = pd.read_sql(sql,self.conn).shape[0] + found = True + except Exception as e: pass return found