Commit 47857217 by Juan Pablo dure

para andar

1 parent da840dcc
...@@ -60,7 +60,7 @@ class FosaDiaria(): ...@@ -60,7 +60,7 @@ class FosaDiaria():
def ProcesarDatos(self,df,dia): def ProcesarDatos(self,df,dia):
data = df.to_dict() data = df.to_dict()
print(data["domino"], type(data["domino"])) #print(data["domino"], type(data["domino"]))
try: try:
test = self.Cache[dia] test = self.Cache[dia]
#print(test) #print(test)
......
...@@ -179,8 +179,12 @@ def report(): ...@@ -179,8 +179,12 @@ def report():
except: except:
s.driver.quit() s.driver.quit()
return f"Error en el login" return f"Error en el login"
try:
fin = FozaDiaria.BuscarDatosDominio(plate.upper(),selenium=s) fin = FozaDiaria.BuscarDatosDominio(plate.upper(),selenium=s)
print(fin) #print(fin)
answer['header']["hora"] = fin
except:
pass
try: try:
answer = gototec(s, answer) answer = gototec(s, answer)
except: except:
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!