Skip to content

Commit

Permalink
Merge pull request #51 from Pack3tL0ss/dev
Browse files Browse the repository at this point in the history
fix error msg displayed when remote found w no adapters
  • Loading branch information
Pack3tL0ss committed Feb 8, 2020
2 parents dfe3664 + 92fbb01 commit 4fa4fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PyConsolePi/common.py
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 4fa4fe5

Please sign in to comment.