From 23e7e375ae1fb9dd69d4440f0288ced1fc65b7a4 Mon Sep 17 00:00:00 2001 From: Cuan Date: Wed, 16 Feb 2022 01:35:48 -0500 Subject: [PATCH] Properly applied fix from last commit --- bin/sshyp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/sshyp b/bin/sshyp index 3f4627a..bb69c3a 100755 --- a/bin/sshyp +++ b/bin/sshyp @@ -228,7 +228,7 @@ def sync(): # calls sshync to sync changes to the user's server print('Folder does not exist locally.\n') else: try: - remove(f"{path.expanduser('~/.password-pasture/')}{_file[:-1]}") + remove(f"{path.expanduser('~/.password-pasture/')}{_file[:-1]}.gpg") except (FileNotFoundError, IsADirectoryError): print('File does not exist locally.\n') # set permissions before uploading