Commit b45d5e5c by Juan Pablo dure

iwejhwe

1 parent db067e56
...@@ -69,10 +69,10 @@ class FosaDiaria(): ...@@ -69,10 +69,10 @@ class FosaDiaria():
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""".split(" ") #cmd = f"""ls {self.CarpetaDescarga} -ls |grep {self.cabezaera}| grep xls | grep -v crdownload""".split(" ")
rte = subprocess.check_output(cmd) rte = subprocess.check_output(grepfile)
#os.system(cmd) #os.system(cmd)
print(cmd) #print(cmd)
print(rte) print(rte)
Lines = str(rte).split("\n") Lines = str(rte).split("\n")
#sleep(0.1) #sleep(0.1)
......
ls /home/juan/Descargas/ -ls |grep Planilla_Diaria-54| grep xls | grep -v crdownload
\ No newline at end of file \ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!