mirror of
https://github.com/home-assistant/core.git
synced 2025-11-24 10:16:58 +00:00
pylint 2.3.0 (#21485)
* pylint 2.3.0 * remove const * disable=syntax-error
This commit is contained in:
committed by
David F. Mulcahey
parent
2482816a11
commit
519315f9c8
@@ -41,6 +41,5 @@ async def resolve_auth_code(hass, client_id, client_secret, code):
|
||||
except AuthorizationError as err:
|
||||
if err.response.status_code == 401:
|
||||
raise config_flow.CodeInvalid()
|
||||
else:
|
||||
raise config_flow.NestAuthError('Unknown error: {} ({})'.format(
|
||||
err, err.response.status_code))
|
||||
raise config_flow.NestAuthError('Unknown error: {} ({})'.format(
|
||||
err, err.response.status_code))
|
||||
|
||||
Reference in New Issue
Block a user