mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-02 07:07:18 -04:00
Removed extra new line printed after some remote file checks
This commit is contained in:
+1
-1
@@ -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')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user