Fix implicit-return in xiaomi (#122938)

pull/115645/head
epenet 2024-07-31 20:46:30 +02:00 committed by GitHub
parent a6aae4e857
commit 4aacec2de7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 4 deletions

View File

@ -172,7 +172,6 @@ def _get_token(host, username, password):
)
_LOGGER.exception(error_message, url, data, result)
return None
else:
_LOGGER.error(
"Invalid response: [%s] at url: [%s] with data [%s]", res, url, data
)
_LOGGER.error("Invalid response: [%s] at url: [%s] with data [%s]", res, url, data)
return None