Commit 95a92d3b by Juan Pablo dure

qwd

1 parent 3f5e999a
......@@ -23,6 +23,10 @@ class FosaDiaria():
now = datetime.datetime.now()
dia = now.strftime("%d/%m/%Y")
try:
data1 = self.Cache[dia]
except:
self.Cache[dia] = {}
try:
data = self.Cache[dia][dominio]
except:
data = False
......@@ -43,7 +47,7 @@ class FosaDiaria():
del data
except Exception as E:
print("Error al limpiar datos ",E)
fin = datetime.datetime.strftime(hora_format_cent)
fin = datetime.datetime.now().strftime(hora_format_cent)
return(fin)
def ActualizarDatosDominios(self,selenium,dia):
......@@ -59,7 +63,7 @@ class FosaDiaria():
print(data["domino"], type(data["domino"]))
try:
test = self.Cache[dia]
print(test)
#print(test)
except:
self.Cache[dia] = {}
for n in data["domino"].keys():
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!