mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-09-02 15:17:18 -04:00
Fixed errors when trying to set a device name from offline mode
Former-commit-id: f5d58f8d99fbef87cb0c44314595a4d2b7597538 Former-commit-id: 210d6f3fbc2672f53bfd438d941e0404de362d57
This commit is contained in:
@@ -243,6 +243,8 @@ def global_menu(_post_setup):
|
|||||||
elif _choice == 2:
|
elif _choice == 2:
|
||||||
ssh_config()
|
ssh_config()
|
||||||
elif _choice == 3:
|
elif _choice == 3:
|
||||||
|
if not sshyp_data.has_section('SSHYNC'):
|
||||||
|
ssh_config()
|
||||||
dev_id_config(sshyp_data.get('SSHYNC', 'ip'), sshyp_data.get('SSHYNC', 'user'),
|
dev_id_config(sshyp_data.get('SSHYNC', 'ip'), sshyp_data.get('SSHYNC', 'user'),
|
||||||
sshyp_data.get('SSHYNC', 'port'))
|
sshyp_data.get('SSHYNC', 'port'))
|
||||||
elif _choice == 4:
|
elif _choice == 4:
|
||||||
|
|||||||
Reference in New Issue
Block a user