Prześlij pliki do ''

This commit is contained in:
Sławomir Łopata 2023-02-04 05:48:08 +01:00
parent 4158ddf516
commit 9aa435e6ff
2 changed files with 8 additions and 0 deletions

8
app.py
View File

@ -313,6 +313,14 @@ def parse(data):
ans.append(curr)
return ans
@app.errorhandler(404)
def page_not_found(e):
return render_template("404.html")
@app.errorhandler(500)
def internal_server_error(e):
return render_template("500.html")
if __name__ == '__main__':
app.run(debug=True)

Binary file not shown.