Skip to content

Commit

Permalink
fix error msg displayed when remote found w no adapters
Browse files Browse the repository at this point in the history
  • Loading branch information
wade ~ Pack3tL0ss committed Feb 8, 2020
1 parent a321729 commit 92fbb01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PyConsolePi/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 92fbb01

Please sign in to comment.