Commit 96ddf31e by Juan Pablo dure

prueba

1 parent b8354fa8
......@@ -70,12 +70,12 @@ class FosaDiaria():
def _BuscarExcelDescargado(self,tmp="/dev/shm/tmpscdecas.txt"):
rta = False
sleep(0.5)
os.system(f"""ls {self.CarpetaDescarga} -ls | grep xls 2> {tmp}""")
os.system(f"""ls {self.CarpetaDescarga} -ls | grep xls | grep -v crdownload 2> {tmp}""")
file1 = open(tmp, 'r')
Lines = file1.readlines()
for line in Lines:
print(line)
der = line.split(" ")[-1]
print(line,der)
archivo = f"""{self.CarpetaDescarga}{der}"""
#print(archivo)
rta = archivo
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!