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.update(http_response.cookies)
|
||||
uid = cookies.get(TWISTED_SESSION)
|
||||
api_key = APIKey.new(seed=uid)
|
||||
api_key = APIKey.new(seed=uid.encode())
|
||||
else:
|
||||
# This is a client that already has a session, use it
|
||||
conn = connection
|
||||
|
|
Loading…
Reference in a new issue