diff --git a/src/forest/forest.py b/src/forest/forest.py index 1c9f35a..440f003 100644 --- a/src/forest/forest.py +++ b/src/forest/forest.py @@ -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 \ No newline at end of file