Skip to content

Commit eae6cf4

Browse files
committed
Update main.py
1 parent 9478f18 commit eae6cf4

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

main.py

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -28,41 +28,6 @@
2828
"Content-Type": "application/json; charset=utf-8",
2929
}
3030

31-
ensa_pass = os.getenv('STC_API_PASSENSA') + datetime.now().strftime('%Y%m%d')
32-
ensa_infos = {
33-
"code_ensa": os.getenv('STC_API_CODEENSA', 'lyon'),
34-
"pass_ensa": hashlib.sha1(ensa_pass.encode()).hexdigest(),
35-
}
36-
37-
collections = [
38-
{
39-
"function": export_ind,
40-
"method": "ExportInd",
41-
"params": {
42-
**ensa_infos,
43-
"type": "etd",
44-
"id": "*",
45-
},
46-
},
47-
{
48-
"function": export_ind,
49-
"method": "ExportInd",
50-
"params": {
51-
**ensa_infos,
52-
"type": "adm",
53-
"id": "*",
54-
},
55-
},
56-
{
57-
"function": export_ind,
58-
"method": "ExportInd",
59-
"params": {
60-
**ensa_infos,
61-
"type": "esn",
62-
"id": "*",
63-
},
64-
},
65-
]
6631

6732

6833
async def main():

0 commit comments

Comments
 (0)