mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-10-27 12:40:02 -04:00
Deletion flags no longer end in 'del'
This commit is contained in:
1 parent
ca007f55ac
commit
4b24df0e97
1 file changed
+1
-1
+1
-1
@@ -21,7 +21,7 @@ def delete(_file_path):
|
|||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
print('\nFile does not exist remotely.\n')
|
print('\nFile does not exist remotely.\n')
|
||||||
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}^&*del", 'w')
|
open(f"{expanduser('~/.config/sshyp/deleted/')}{_file_path.replace('/', '@')}^&*{_device_name}", 'w')
|
||||||
|
|
||||||
|
|
||||||
def check(_client_device_name):
|
def check(_client_device_name):
|
||||||
|
|||||||
Reference in new issue
Block a user