diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index de71da0c..011da193 100755 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -201,7 +201,7 @@ class Database: # where possible avoid creating new SQL instance by using the global one passed in - if sql == None: + if sql is None: self.sql = SQL.Sql(type = self.type, db_server = db_params['db-server']) else: self.sql = sql