implentation tour pas fini
This commit is contained in:
@ -87,7 +87,7 @@ def insert_detail_record(
|
||||
try:
|
||||
cur.execute(sql, data)
|
||||
cnx.commit()
|
||||
|
||||
return cur.lastrowid
|
||||
except mysql.connector.IntegrityError as e:
|
||||
# Duplicate key = lecture déjà traitée → on ignore et on continue
|
||||
if e.errno == 1062:
|
||||
|
||||
Reference in New Issue
Block a user