Skip to content

Commit c92274f

Browse files
committed
correction primo
1 parent f276bfe commit c92274f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
collections = [
3939
{
4040
"function": export_ind,
41-
"method": "ExportInd",
41+
"method": "ExportPrimo",
4242
"params": {
4343
**ensa_infos,
4444
"type": "pri",

src/export_ind.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ async def export_ind(url, col, headers):
2727
}
2828

2929
if col.get('params').get('type') == 'pri':
30-
payload['params']['au'] = int(col.get('params').get('au')) + 1
30+
#payload['params']['au'] = int(col.get('params').get('au')) + 1
3131
print("Type primo détecté, ajout de +1 à l'année: <" + str(payload['params']['au']) + ">")
3232
else:
3333
print("Type " + col.get('params').get('type') + " détecté, pas d'ajout à l'année: <" + str(col.get('params').get('au')) + ">")

0 commit comments

Comments
 (0)