Skip to content

Commit

Permalink
gui pass clear
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamint08 committed Jun 1, 2021
1 parent db33725 commit 4aa66f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions get-gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ def Pass():
def Clear():
email_text.set("")
pass_text.set("")
pass_lock_msg.set("")
name_msg.set("")

def load_key():
fpath = __file__
Expand Down Expand Up @@ -83,6 +85,7 @@ def decrypt(filename, key):
k = json.loads(e)
email_text.set(k['email'])
pass_text.set(k['passphrase'])
pass_lock_msg.set("")
file.close()
os.remove(decfile)
os.rmdir(decdir)
Expand Down

0 comments on commit 4aa66f3

Please sign in to comment.