From 4366aa06cae52cbcf50684c7e28cef54d99f7fbc Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Mon, 26 Aug 2024 00:25:04 +0900 Subject: [PATCH] =?UTF-8?q?json=E5=87=A6=E7=90=86=E3=81=82=E3=81=9F?= =?UTF-8?q?=E3=82=8A=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dislocker_client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dislocker_client.py b/dislocker_client.py index 4145871..a690366 100644 --- a/dislocker_client.py +++ b/dislocker_client.py @@ -88,7 +88,8 @@ def init(**kwargs): if responce.status_code == 200: print("PCの情報が登録されました。") - pc_token = str(responce.json["pc_token"]) + responce_json = responce.json() + pc_token = str(responce_json["pc_token"]) client_config["pc_token"] = pc_token master_password = master_password_gen()