Removed extra new line printed after some remote file checks

This commit is contained in:
2022-02-16 01:07:03 -05:00
parent 8403f4af98
commit fc2f42a1aa
+1 -1
View File
@@ -19,7 +19,7 @@ def delete(_file_path):
try: try:
remove(f"{expanduser('~/.password-pasture/')}{_file_path}.gpg") remove(f"{expanduser('~/.password-pasture/')}{_file_path}.gpg")
except FileNotFoundError: except FileNotFoundError:
print('\nFile does not exist remotely.\n') print('\nFile does not exist remotely.')
for _device_name in listdir(expanduser('~/.config/sshyp/devices')): for _device_name in listdir(expanduser('~/.config/sshyp/devices')):
open(f"{expanduser('~/.config/sshyp/deleted/')}{_file_path.replace('/', '@')}^&*{_device_name}", 'w') open(f"{expanduser('~/.config/sshyp/deleted/')}{_file_path.replace('/', '@')}^&*{_device_name}", 'w')