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 e063e952
authored
2024-07-26 12:50:16 -0300
by
Tu Nombre
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Prueba
1 parent
1a574118
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
main.py
main.py
View file @
e063e95
...
@@ -8,6 +8,10 @@ from matematika import *
...
@@ -8,6 +8,10 @@ from matematika import *
from
titulos
import
*
from
titulos
import
*
import
pruebas
import
pruebas
class
MyCustomException
(
Exception
):
def
__init__
(
self
,
message
):
super
()
.
__init__
(
message
)
ing
=
ingenieros
.
ingenieros
()
ing
=
ingenieros
.
ingenieros
()
FozaDiaria
=
fosadiaria
.
FosaDiaria
()
FozaDiaria
=
fosadiaria
.
FosaDiaria
()
...
@@ -93,7 +97,7 @@ def login():
...
@@ -93,7 +97,7 @@ def login():
pasw
=
request
.
json
[
'contrasena'
]
pasw
=
request
.
json
[
'contrasena'
]
print
(
user
,
pasw
,
pruebas
.
login
)
print
(
user
,
pasw
,
pruebas
.
login
)
if
pruebas
.
login
[
user
]
!=
pasw
:
if
pruebas
.
login
[
user
]
!=
pasw
:
raise
(
)
raise
MyCustomException
(
"Ocurrió un error personalizado."
)
print
(
"Login user desarrollo"
)
print
(
"Login user desarrollo"
)
response
=
make_response
(
redirect
(
url_for
(
'historico'
)))
response
=
make_response
(
redirect
(
url_for
(
'historico'
)))
#response = make_response('', 200)
#response = make_response('', 200)
...
...
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