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:
2023-05-13 21:19:40 -04:00
parent 2747aff0bf
commit 53bb3dcacf
+2
View File
@@ -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: