Skip to content

Commit

Permalink
remove a unneeded con
Browse files Browse the repository at this point in the history
  • Loading branch information
euri10 committed Nov 9, 2023
1 parent 38070d1 commit aa448ff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions johnnycanencrypt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,6 @@ def upgrade_if_required(self):
creationtime,
othervalues,
)
con = sqlite3.connect(self.dbpath)
con.row_factory = sqlite3.Row
with con:
cursor = con.cursor()
for row in existing_records:
Expand Down

0 comments on commit aa448ff

Please sign in to comment.