diff --git a/supersqlite/__init__.py b/supersqlite/__init__.py index 846696a..7122d66 100644 --- a/supersqlite/__init__.py +++ b/supersqlite/__init__.py @@ -192,7 +192,7 @@ def _set_row_factory(self, value): value = getattr(apsw, prop) if prop.startswith('__') or isinstance(value, types.ModuleType): continue - if not hasattr(SuperSQLite): + if not hasattr(SuperSQLite, prop): setattr(SuperSQLite, prop, value) setattr(SuperSQLite, 'connect', SuperSQLiteConnection)