Commit 4a4987d9 by Juan Pablo dure

wdqwd

1 parent 44580300
......@@ -69,8 +69,10 @@ class FosaDiaria():
def _BuscarExcelDescargado(self,tmp):
rta = False
sleep(0.5)
os.system(f"""ls {self.CarpetaDescarga} -ls |grep {self.cabezaera}| grep xls | grep -v crdownload 2> {tmp}""")
cmd = f"""ls {self.CarpetaDescarga} -ls |grep {self.cabezaera}| grep xls | grep -v crdownload 2>{tmp}"""
os.system(cmd)
print(cmd)
sleep(0.1)
file1 = open(tmp, 'r')
Lines = file1.readlines()
for line in Lines:
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!