Skip to content

Commit

Permalink
Merge pull request #67 from jlayec/patch-1
Browse files Browse the repository at this point in the history
Update jeedom.py
  • Loading branch information
zoic21 authored Aug 27, 2024
2 parents e4e67d1 + ba439c7 commit 4a0b6ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/demond/jeedom/jeedom.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def test(self):
try:
response = requests.get(self.url + '?apikey=' + self.apikey, verify=False)
if response.status_code != requests.codes.ok:
logging.error('Callback error: %s %s. Please check your network configuration page', response.status.code, response.status.message)
logging.error('Callback error: %s %s. Please check your network configuration page', response.status_code, response.reason)
return False
except Exception as e:
logging.error('Callback result as a unknown error: %s. Please check your network configuration page', e.message)
Expand Down

0 comments on commit 4a0b6ee

Please sign in to comment.