mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-03 23:57:17 -04:00
Properly applied fix from last commit
This commit is contained in:
@@ -228,7 +228,7 @@ def sync(): # calls sshync to sync changes to the user's server
|
|||||||
print('Folder does not exist locally.\n')
|
print('Folder does not exist locally.\n')
|
||||||
else:
|
else:
|
||||||
try:
|
try:
|
||||||
remove(f"{path.expanduser('~/.password-pasture/')}{_file[:-1]}")
|
remove(f"{path.expanduser('~/.password-pasture/')}{_file[:-1]}.gpg")
|
||||||
except (FileNotFoundError, IsADirectoryError):
|
except (FileNotFoundError, IsADirectoryError):
|
||||||
print('File does not exist locally.\n')
|
print('File does not exist locally.\n')
|
||||||
# set permissions before uploading
|
# set permissions before uploading
|
||||||
|
|||||||
Reference in New Issue
Block a user