From a8bf3ab4b7d0db3d0cab2633e14c7b1641f9eea6 Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Sat, 5 Oct 2024 10:25:37 +0900 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E8=A6=8F=E7=99=BB=E9=8C=B2=E3=81=A7?= =?UTF-8?q?=E3=81=8D=E3=81=AA=E3=81=84=E3=83=90=E3=82=B0=E3=81=9D=E3=81=AE?= =?UTF-8?q?=EF=BC=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dislocker_auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dislocker_auth.py b/dislocker_auth.py index c819015..3ae6611 100644 --- a/dislocker_auth.py +++ b/dislocker_auth.py @@ -307,7 +307,7 @@ class Auth(): cursor.execute("SELECT pc_number FROM pc_list WHERE pc_number = %s", (pc_number,)) pc_record_number_source = cursor.fetchall() - if pc_record_number_source == None: + if pc_record_number_source == []: pc_token = self.token_generate(36) master_password = self.master_password_generate(16) master_password_hash = self.hash_genarate(master_password)