mirror of
https://github.com/rwinkhart/sshyp.git
synced 2026-08-28 12:56:28 -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:
|
||||
ssh_config()
|
||||
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'),
|
||||
sshyp_data.get('SSHYNC', 'port'))
|
||||
elif _choice == 4:
|
||||
|
||||
Reference in New Issue
Block a user