diff --git a/custom_components/miele/miele_at_home.py b/custom_components/miele/miele_at_home.py index 49a7729..258fbfc 100644 --- a/custom_components/miele/miele_at_home.py +++ b/custom_components/miele/miele_at_home.py @@ -263,7 +263,7 @@ def _save_token(self, token): f.write(json.dumps(token)) f.close() except IOError: - _LOGGER._warn( + _LOGGER.warn( "Couldn't write token cache to {0}".format(self._cache_path) ) pass @@ -276,7 +276,7 @@ def _remove_token(self): try: os.remove(self._cache_path) except IOError: - _LOGGER._warn( + _LOGGER.warn( "Couldn't delte token cache to {0}".format(self._cache_path) ) pass