From 4165881d5f571634da654e4b7f6a0cf48f8c8e16 Mon Sep 17 00:00:00 2001 From: hackrush Date: Mon, 6 Aug 2018 01:18:24 +0530 Subject: [PATCH] Authenticated CLI works again --- lbrynet/daemon/auth/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbrynet/daemon/auth/client.py b/lbrynet/daemon/auth/client.py index 95354e799..5781f9558 100644 --- a/lbrynet/daemon/auth/client.py +++ b/lbrynet/daemon/auth/client.py @@ -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