From 461bcf6fba38ac7efbc8aefaa220fef88a65ca3d Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Sat, 5 Oct 2024 09:48:00 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AA=E3=83=AC=E3=83=BC=E3=82=B7=E3=83=A7?= =?UTF-8?q?=E3=83=B3=E3=81=AE=E9=96=A2=E4=BF=82=E3=81=A7DELETE=E3=81=AFUPD?= =?UTF-8?q?ATE=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dislocker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dislocker.py b/dislocker.py index b45ef14..71a0aac 100644 --- a/dislocker.py +++ b/dislocker.py @@ -908,7 +908,7 @@ class DL(): cursor.execute("SELECT * FROM pc_list WHERE pc_number = %s", (pc_number,)) pc_list = cursor.fetchall() if pc_list: - cursor.execute("DELETE FROM pc_list WHERE pc_number = %s", (pc_number,)) + cursor.execute("UPDATE pc_list SET using_member_id = NULL, password_hash = NULL, pc_uuid = NULL, pc_token = NULL, master_password = NULL, detail = NULL, alt_name = NULL WHERE pc_number = %s", (pc_number,)) self.db.commit() return {"result": 0, "about": "ok"} else: