From 83022cfb6ae14d2266c809e1e1f4bd98f3479280 Mon Sep 17 00:00:00 2001 From: Lcry Date: Mon, 19 Sep 2022 12:59:58 +0800 Subject: [PATCH] =?UTF-8?q?fix(py):=20=E4=BF=AE=E5=A4=8Dtarget=5Fuid?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E6=97=A0=E6=B3=95=E8=8E=B7=E5=8F=96token?= =?UTF-8?q?=E6=8A=A5=E9=94=99string=20indices=20must=20be=20integers?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/main.py b/main.py index c312ab1..f5b14c1 100644 --- a/main.py +++ b/main.py @@ -73,10 +73,9 @@ def uid2token(uid, legitimate_token): sys.exit(-1) login_body = { "uid": str(uuid), - "avatar": avatar, + "avatar": "1", "nick_name": "1", "sex": 1 - } except Exception: try_get_user_info_api_count += 1