Commit f1648dbe by Juan Pablo dure

cfsdcs

1 parent 74684e50
...@@ -70,7 +70,7 @@ class FosaDiaria(): ...@@ -70,7 +70,7 @@ 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(["bash",grepfile]) rte = subprocess.check_output([grepfile])
#os.system(cmd) #os.system(cmd)
#print(cmd) #print(cmd)
print(rte) print(rte)
......
#!/bin/bash
ls /home/juan/Descargas/ -ls |grep Planilla_Diaria-54| grep xls | grep -v crdownload 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!