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 0d96bd24
authored
2023-09-08 15:36:39 -0300
by
Juan Pablo dure
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Mejora prueba y mensajes de error
1 parent
5557596e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
4 deletions
ingenieros.py
main.py
ingenieros.py
View file @
0d96bd2
...
@@ -44,7 +44,7 @@ if __name__ == "__main__":
...
@@ -44,7 +44,7 @@ if __name__ == "__main__":
print
(
apollo
.
estaticos
.
FechaHora
())
print
(
apollo
.
estaticos
.
FechaHora
())
for
n
in
range
(
0
,
125
):
for
n
in
range
(
0
,
125
):
apollo
.
estaticos
.
FechaHora
()
apollo
.
estaticos
.
FechaHora
()
print
(
ing
.
LeerDatosUsuario
(
usuario
=
"
user
"
))
print
(
ing
.
LeerDatosUsuario
(
usuario
=
"
mdfernandez054
"
))
print
(
ing
.
LeerDatosUsuario
(
usuario
=
"usfsder"
))
print
(
ing
.
LeerDatosUsuario
(
usuario
=
"usfsder"
))
#print(ing.cache)
#print(ing.cache)
#print(ing.LeerArchivo())
#print(ing.LeerArchivo())
...
...
main.py
View file @
0d96bd2
...
@@ -78,9 +78,16 @@ def login():
...
@@ -78,9 +78,16 @@ def login():
)
)
s
.
driver
.
quit
()
s
.
driver
.
quit
()
return
r
return
r
except
:
except
Exception
as
E
:
#s.driver.quit()
TratarCerrarNabegador
(
s
)
return
f
"Error en el login {str(E)}"
def
TratarCerrarNabegador
(
s
):
try
:
s
.
driver
.
quit
()
s
.
driver
.
quit
()
return
"Error en el login"
except
:
pass
@app.route
(
'/manual'
)
@app.route
(
'/manual'
)
def
manual
():
def
manual
():
...
@@ -379,4 +386,4 @@ def _e2q(string):
...
@@ -379,4 +386,4 @@ def _e2q(string):
# Inicio del servicio
# Inicio del servicio
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
app
.
run
(
"0.0.0.0"
)
\ No newline at end of file
\ No newline at end of file
app
.
run
(
"0.0.0.0"
,
port
=
8765
)
\ 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