Skip to content

Commit 877ce6c

Browse files
committed
Strip tokens of whitespace before using.
1 parent c9fcc1b commit 877ce6c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

homeassistant_api/rawbaseclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def __init__(
2525
if global_request_kwargs is None:
2626
global_request_kwargs = {}
2727
self.api_url = api_url
28-
self.token = token
28+
self.token = token.strip()
2929
self.global_request_kwargs = global_request_kwargs
3030

3131
if not api_url.endswith("/"):

0 commit comments

Comments
 (0)