Skip to content

Commit

Permalink
Merge pull request #812 from Towe1ie/fix/set-access-token
Browse files Browse the repository at this point in the history
Fix set access token typo and countryCode
  • Loading branch information
yaronzz authored Jan 21, 2022
2 parents 30917d1 + 2a56bee commit 5f42afa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion TIDALDL-PY/tidal_dl/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,10 @@ def setAccessToken():
if refreshToken == '0':
refreshToken = TOKEN.refreshToken

TOKEN.assesstoken = token
TOKEN.accessToken = token
TOKEN.refreshToken = refreshToken
TOKEN.expiresAfter = 0
TOKEN.countryCode = API.key.countryCode
TokenSettings.save(TOKEN)


Expand Down

0 comments on commit 5f42afa

Please sign in to comment.