From 86a4ef87669c257a342ab459646a65810ff83448 Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Mon, 26 Aug 2024 00:47:39 +0900 Subject: [PATCH] =?UTF-8?q?=E5=9E=8B=E3=82=92=E6=98=8E=E7=A4=BA=E7=9A=84?= =?UTF-8?q?=E3=81=AB=E6=8C=87=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dislocker_auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dislocker_auth.py b/dislocker_auth.py index 64b4f65..72bcce6 100644 --- a/dislocker_auth.py +++ b/dislocker_auth.py @@ -240,8 +240,8 @@ def verify(): @app.route('/stop', methods=['POST']) def stop(): pc_number = int(request.json.get('pc_number')) - pc_uuid = request.json.get('pc_uuid') - pc_token = request.json.get('pc_token') + pc_uuid = str(request.json.get('pc_uuid')) + pc_token = str(request.json.get('pc_token')) print(str(pc_number) + "の使用停止処理を開始...") pc_auth = auth.check(pc_number=pc_number, pc_uuid=pc_uuid, pc_token=pc_token)