Spelling fixes

This commit is contained in:
Michaël Arnauts 2020-03-23 15:04:41 +01:00
parent 7e86106562
commit decd9a49f1
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ class AuthApi:
self._refresh_token = data_json.get('refresh_token')
self._expiry = int(data_json.get('expiry', 0))
except (IOError, TypeError, ValueError):
_LOGGER.info('We could not use the cache since it is invalid or non-existant.')
_LOGGER.info('We could not use the cache since it is invalid or non-existent.')
def get_token(self):
""" Get a valid token """

View File

@ -40,7 +40,7 @@ class AwsIdp:
self.pool_id = pool_id
if "_" not in self.pool_id:
raise ValueError("Invalid pool_id format. Shoud be <region>_<poolid>.")
raise ValueError("Invalid pool_id format. Should be <region>_<poolid>.")
self.client_id = client_id
self.region = self.pool_id.split("_")[0]