Skip to content

Commit

Permalink
fix: properly save refresh_token for login
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Jan 25, 2020
1 parent 267f8c0 commit 2926b34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teslajsonpy/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(
self.expiration: int = 0
self.access_token = None
self.head = None
self.refresh_token = None
self.refresh_token = refresh_token
self.websession = websession
self.token_refreshed = False
self.generate_oauth(email, password, refresh_token)
Expand Down

0 comments on commit 2926b34

Please sign in to comment.