Commit 01e54bbb authored by Ajay Patel's avatar Ajay Patel

Fix hasattr

parent 4b95c717
Pipeline #37477739 passed with stages
in 129 minutes and 31 seconds
......@@ -192,7 +192,7 @@ for prop in dir(apsw):
value = getattr(apsw, prop)
if prop.startswith('__') or isinstance(value, types.ModuleType):
if not hasattr(SuperSQLite):
if not hasattr(SuperSQLite, prop):
setattr(SuperSQLite, prop, value)
setattr(SuperSQLite, 'connect', SuperSQLiteConnection)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment