Correction import résultats bureaux de vote tour 2

This commit is contained in:
Emmy D'Anello 2024-06-21 10:49:05 +02:00
parent 8b45bc81ad
commit afc1d3f85f
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -130,12 +130,12 @@ def importer_resultats_bv(engine: Engine, verbose: bool = False) -> None:
resultats_bv.blancs_t1 = int(row[12])
resultats_bv.nuls_t1 = int(row[15])
elif tour == 2:
resultats_bv.inscrits_t2 = int(row[5])
resultats_bv.votants_t2 = int(row[8])
resultats_bv.abstentions_t2 = int(row[6])
resultats_bv.exprimes_t2 = int(row[16])
resultats_bv.blancs_t2 = int(row[10])
resultats_bv.nuls_t2 = int(row[13])
resultats_bv.inscrits_t2 = int(row[7])
resultats_bv.votants_t2 = int(row[10])
resultats_bv.abstentions_t2 = int(row[8])
resultats_bv.exprimes_t2 = int(row[18])
resultats_bv.blancs_t2 = int(row[12])
resultats_bv.nuls_t2 = int(row[15])
row_voix = row[21:]