mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-05 08:37:14 -04:00
Deletion flags no longer end in 'del'
This commit is contained in:
+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