diff --git a/dislocker.py b/dislocker.py index 7f5cf34..aac1a0b 100644 --- a/dislocker.py +++ b/dislocker.py @@ -342,6 +342,7 @@ class Bot(discord.Client): password = self.password_generate(4) password_hash = self.hash_genarate(password) # PC使用履歴のテーブルにレコードを挿入 + print("ここ") cursor = dislocker.db.cursor() cursor.execute("INSERT INTO pc_usage_history (member_id, pc_number, keyboard_number, mouse_number, start_use_time, use_detail) VALUES (%s, %s, %s, %s, clock_timestamp(), %s)", (member_id, user_info["pc_number"], user_info["keyboard_number"], user_info["mouse_number"], user_info["detail"])) # PCリストの該当のレコードを更新