mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-05 08:37:14 -04:00
Fixed device id fetching (and quick-unlock verification) on Haiku
This commit is contained in:
+1
-1
@@ -867,7 +867,7 @@ if __name__ == "__main__":
|
|||||||
ip = ssh_info[1].rstrip()
|
ip = ssh_info[1].rstrip()
|
||||||
port = ssh_info[2].rstrip()
|
port = ssh_info[2].rstrip()
|
||||||
directory_ssh = str(ssh_info[4].rstrip())
|
directory_ssh = str(ssh_info[4].rstrip())
|
||||||
client_device_id = listdir(path.expanduser('~/.config/sshyp/devices'))[0]
|
client_device_id = listdir(path.expanduser('~/.config/sshyp/devices'))[0].rstrip()
|
||||||
ssh_error = int(open(path.expanduser('~/.config/sshyp/ssh-error')).read().rstrip())
|
ssh_error = int(open(path.expanduser('~/.config/sshyp/ssh-error')).read().rstrip())
|
||||||
if ssh_error != 0:
|
if ssh_error != 0:
|
||||||
ssh_error = copy_id_check(port, username_ssh, ip, client_device_id)
|
ssh_error = copy_id_check(port, username_ssh, ip, client_device_id)
|
||||||
|
|||||||
Reference in New Issue
Block a user