From e2b8e31f508b5058915920275b3de7c61b6c1650 Mon Sep 17 00:00:00 2001 From: Cuan Date: Mon, 11 Jul 2022 22:19:31 -0400 Subject: [PATCH] Clean up for automatically created gpg generation file --- bin/sshyp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/sshyp.py b/bin/sshyp.py index 9e63831..b3255b3 100755 --- a/bin/sshyp.py +++ b/bin/sshyp.py @@ -231,6 +231,7 @@ def tweak(): # runs configuration wizard path.expanduser('~/.config/sshyp/gpg-gen') + "'", shell=True) else: run(f"{gpg} --batch --generate-key '{path.expanduser('~/.config/sshyp/gpg-gen')}'", shell=True) + remove(path.expanduser('~/.config/sshyp/gpg-gen')) _gpg_id = run(f"{gpg} -k", shell=True, stdout=PIPE, text=True).stdout.split('\n')[-4].strip() # lock file generation