Dirty fixing of some more mariadb -> mysql-connector issues....

TODO: do it properly.
This commit is contained in:
Cedric
2023-08-08 14:07:36 +02:00
parent 7f55828c5f
commit bdc826c15b
8 changed files with 15 additions and 15 deletions
@@ -157,7 +157,7 @@ class CharacterInfoController:
with self.db.pool.get_connection() as conn:
with conn.cursor() as cur:
cur.executemany("INSERT IGNORE INTO name_history (char_id, name, created_at) "
"VALUES (%s, %s, %s)",
"VALUES (%s, %s, %s)".replace("?", "%s"),
self.name_history)
self.name_history = []