define create_app fn
This commit is contained in:
parent
0d7615558e
commit
5451d8d1b3
1 changed files with 2 additions and 2 deletions
|
@ -104,5 +104,5 @@ def service_unavailable(e):
|
|||
def handle_csrf_error(e):
|
||||
return render_template('errors/csrf_error.html', reason=e.description), 400
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run()
|
||||
def create_app():
|
||||
return app
|
Loading…
Reference in a new issue