Skip to content

Commit

Permalink
Fix hasattr
Browse files Browse the repository at this point in the history
  • Loading branch information
AjayP13 committed Nov 22, 2018
1 parent 4b95c71 commit 01e54bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion supersqlite/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 01e54bb

Please sign in to comment.