フリーズを修正

This commit is contained in:
suti7yk5032 2024-06-06 20:04:03 +09:00
parent 4cbd7e1cf1
commit 7f6bbfc420

View file

@ -69,7 +69,6 @@ class Lock(customtkinter.CTkToplevel):
auth_password = str(self.password_entry.get()) auth_password = str(self.password_entry.get())
if pc_info[0][2] == auth_password: if pc_info[0][2] == auth_password:
cursor.execute("UPDATE pc_list SET password_hash = NULL WHERE pc_number = %s", (10,)) cursor.execute("UPDATE pc_list SET password_hash = NULL WHERE pc_number = %s", (10,))
app.notify()
self.db.commit() self.db.commit()
self.destroy() self.destroy()
app.exit() app.exit()