Commit 90d24e9e by Tu Nombre

fdsfds

1 parent e063e952
Showing 1 changed file with 2 additions and 1 deletions
...@@ -98,6 +98,7 @@ def login(): ...@@ -98,6 +98,7 @@ def login():
print(user,pasw,pruebas.login) print(user,pasw,pruebas.login)
if pruebas.login[user] != pasw: if pruebas.login[user] != pasw:
raise MyCustomException("Ocurrió un error personalizado.") 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)
...@@ -110,7 +111,7 @@ def login(): ...@@ -110,7 +111,7 @@ def login():
) )
return response # Login rapido para desarrollo return response # Login rapido para desarrollo
except Exception as E: except Exception as E:
print(f"No se encontro usuariodesarrollo {E}") print(f"No se encontro usuariodesarrollo {E}")
try: try:
raise() raise()
s = SI(SI.Chrome) s = SI(SI.Chrome)
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!