diff --git a/src/PyConsolePi/common.py b/src/PyConsolePi/common.py index 153d29dc..c24dc1d6 100755 --- a/src/PyConsolePi/common.py +++ b/src/PyConsolePi/common.py @@ -666,7 +666,7 @@ def api_reachable(self, remote_data: dict): remote_data['adapters'] = _adapters update = True elif _adapters == 200: - self.error_msgs.append('Remote @ {} is reachable, but has no adapters attached'.format(remote_data['rem_ip'])) + self.error_msgs.append('Remote @ {} is reachable, but has no adapters attached'.format(_ip)) self.error_msgs.append('it\'s still available in remote shell menu') # remote was reachable update rem_ip, even if returned bad status_code still reachable