MatteoScript commited on
Commit
0a6cf9b
·
verified ·
1 Parent(s): 9865261

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -285,7 +285,7 @@ async def GeneraTestoAsync(url, input_data):
285
  ListaInput = await CreaListaInput(input_data)
286
  for data in ListaInput:
287
  LoggaTesto("RICHIESTA ASINCRONA", data)
288
- tasks.extend([make_request(session, token, data, index, url) for index in range(input_data.NumeroGenerazioni)])
289
  return await asyncio.gather(*tasks)
290
 
291
 
 
285
  ListaInput = await CreaListaInput(input_data)
286
  for data in ListaInput:
287
  LoggaTesto("RICHIESTA ASINCRONA", data)
288
+ tasks.extend([make_request(session, token, data, url, index) for index in range(input_data.NumeroGenerazioni)])
289
  return await asyncio.gather(*tasks)
290
 
291