Commit f4670ac4 by Juan Pablo dure

corrijo deteccion de archivos nuevo

1 parent 4a4987d9
...@@ -63,13 +63,13 @@ class FosaDiaria(): ...@@ -63,13 +63,13 @@ class FosaDiaria():
n = n + 1 n = n + 1
if not arc == False: if not arc == False:
test = False test = False
if n > 20: if n > 70:
return " " return " "
return(arc) return(arc)
def _BuscarExcelDescargado(self,tmp): def _BuscarExcelDescargado(self,tmp):
rta = False rta = False
cmd = 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 &>{tmp}"""
os.system(cmd) os.system(cmd)
print(cmd) print(cmd)
sleep(0.1) sleep(0.1)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!