Skip to content

Commit

Permalink
fix(py): 修复target_uid模式无法获取token报错string indices must be integers
Browse files Browse the repository at this point in the history
  • Loading branch information
Lcry committed Sep 19, 2022
1 parent 14f6d27 commit 83022cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83022cf

Please sign in to comment.