We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d24447 commit 8134efcCopy full SHA for 8134efc
1 file changed
lnetatmo.py
@@ -277,8 +277,6 @@ def renew_token(self):
277
"client_secret" : self._clientSecret
278
}
279
resp = postRequest("authentication", _AUTH_REQ, postParams)
280
- if not resp:
281
- raise AuthFailure("No response received from server.")
282
if not resp:
283
raise AuthFailure("Authentication Error from server.")
284
if self.refreshToken != resp['refresh_token']:
0 commit comments