Commit 73a28591 by Juan Pablo dure

postloggin

1 parent 17513a12
Showing 1 changed file with 1 additions and 1 deletions
......@@ -153,7 +153,6 @@ def report():
d = request.json
plate = d['header']['patente']
s = SI(SI.Chrome)
FozaDiaria.BuscarDatosDominio(plate.upper(),selenium=s)
answer = {
"header" : {},
......@@ -180,6 +179,7 @@ def report():
except:
s.driver.quit()
return f"Error en el login"
FozaDiaria.BuscarDatosDominio(plate.upper(),selenium=s)
try:
answer = gototec(s, answer)
except:
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!