Properly applied fix from last commit

This commit is contained in:
2022-02-16 01:35:48 -05:00
parent b8743d5fe2
commit 23e7e375ae
+1 -1
View File
@@ -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