mod main comment erro fun 404
This commit is contained in:
parent
1ef45cfc51
commit
f31722d04d
6
main.py
6
main.py
@ -146,9 +146,9 @@ def ayuda_template():
|
|||||||
|
|
||||||
|
|
||||||
# Manejo del error 404
|
# Manejo del error 404
|
||||||
@app.errorhandler(404)
|
# @app.errorhandler(404)
|
||||||
def page_not_found(error):
|
# def page_not_found(error):
|
||||||
return render_template('404.html'), 404
|
# return render_template('404.html'), 404
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user