Fix pyflakes
This commit is contained in:
parent
47a380ad38
commit
32bf2e1187
1 changed files with 5 additions and 5 deletions
|
|
@ -374,11 +374,11 @@ class DBManager:
|
|||
Delete a specific version by version_id.
|
||||
"""
|
||||
cur = self.conn.cursor()
|
||||
row = cur.execute(
|
||||
with self.conn:
|
||||
cur.execute(
|
||||
"DELETE FROM versions WHERE id=?;",
|
||||
(version_id,),
|
||||
)
|
||||
return True
|
||||
|
||||
# ------------------------- Export logic here ------------------------#
|
||||
def get_all_entries(self) -> List[Entry]:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue