Skip to content

Commit

Permalink
Hot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmasnyairo committed Mar 31, 2020
1 parent 3fcc78a commit 44952f1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Binary file modified bookstore.db
Binary file not shown.
10 changes: 10 additions & 0 deletions frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,20 @@ def insert_command():
list1.delete(0, END)
list1.insert(END, (title_value.get(), author_value.get(),
year_value.get(), isbn_value.get()))
fetch_command()
e1.delete(0, END)
e2.delete(0, END)
e3.delete(0, END)
e4.delete(0, END)


def delete_command():
backend.deleterecord(selected_tuple[0])
e1.delete(0, END)
e2.delete(0, END)
e3.delete(0, END)
e4.delete(0, END)

fetch_command()


Expand Down

0 comments on commit 44952f1

Please sign in to comment.