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)