From decd9a49f11b57d2ca917983dd454fb85ddc4c6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Arnauts?= Date: Mon, 23 Mar 2020 15:04:41 +0100 Subject: [PATCH] Spelling fixes --- resources/lib/viervijfzes/auth.py | 2 +- resources/lib/viervijfzes/auth_awsidp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/lib/viervijfzes/auth.py b/resources/lib/viervijfzes/auth.py index 6526719..445febb 100644 --- a/resources/lib/viervijfzes/auth.py +++ b/resources/lib/viervijfzes/auth.py @@ -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 """ diff --git a/resources/lib/viervijfzes/auth_awsidp.py b/resources/lib/viervijfzes/auth_awsidp.py index 4883071..72884c8 100644 --- a/resources/lib/viervijfzes/auth_awsidp.py +++ b/resources/lib/viervijfzes/auth_awsidp.py @@ -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 _.") + raise ValueError("Invalid pool_id format. Should be _.") self.client_id = client_id self.region = self.pool_id.split("_")[0]