新規登録できないバグその3
This commit is contained in:
parent
ecfc39695a
commit
a8bf3ab4b7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue