forked from LBRYCommunity/lbry-sdk
Authenticated CLI works again
This commit is contained in:
parent
8dc4e3be43
commit
4165881d5f
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ class AuthAPIClient:
|
||||||
cookies = RequestsCookieJar()
|
cookies = RequestsCookieJar()
|
||||||
cookies.update(http_response.cookies)
|
cookies.update(http_response.cookies)
|
||||||
uid = cookies.get(TWISTED_SESSION)
|
uid = cookies.get(TWISTED_SESSION)
|
||||||
api_key = APIKey.new(seed=uid)
|
api_key = APIKey.new(seed=uid.encode())
|
||||||
else:
|
else:
|
||||||
# This is a client that already has a session, use it
|
# This is a client that already has a session, use it
|
||||||
conn = connection
|
conn = connection
|
||||||
|
|
Loading…
Reference in a new issue