fix: delete

This commit is contained in:
Timothy J. Baek
2024-07-06 08:10:58 -07:00
parent 0d70d7c9ac
commit c9b85bd4a2
10 changed files with 32 additions and 2 deletions
+2
View File
@@ -109,6 +109,8 @@ class PromptsTable:
with get_db() as db:
db.query(Prompt).filter_by(command=command).delete()
db.commit()
return True
except:
return False