Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Luciano Barletta
/
Pruebas-RTO
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit b45d5e5c
authored
2023-10-03 10:57:00 -0300
by
Juan Pablo dure
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
iwejhwe
1 parent
db067e56
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
fosadiaria.py
grep.sh
fosadiaria.py
View file @
b45d5e5
...
@@ -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)
...
...
grep.sh
0 → 100755
View file @
b45d5e5
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
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment