Dirty fixing of some more mariadb -> mysql-connector issues....
TODO: do it properly.
This commit is contained in:
@@ -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 = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user