Prześlij pliki do ''
This commit is contained in:
parent
4158ddf516
commit
9aa435e6ff
8
app.py
8
app.py
@ -313,6 +313,14 @@ def parse(data):
|
|||||||
ans.append(curr)
|
ans.append(curr)
|
||||||
return ans
|
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__':
|
if __name__ == '__main__':
|
||||||
app.run(debug=True)
|
app.run(debug=True)
|
BIN
database.db
BIN
database.db
Binary file not shown.
Loading…
Reference in New Issue
Block a user