There was an error while loading. Please reload this page.
2 parents ec86ac9 + 8737340 commit e3df3b1Copy full SHA for e3df3b1
1 file changed
homeassistant_api/rawbaseclient.py
@@ -25,7 +25,7 @@ def __init__(
25
if global_request_kwargs is None:
26
global_request_kwargs = {}
27
self.api_url = api_url
28
- self.token = token
+ self.token = token.strip()
29
self.global_request_kwargs = global_request_kwargs
30
31
if not api_url.endswith("/"):
0 commit comments