From ce5c77aefb77d56377ffc78926f9f396956bfb2b Mon Sep 17 00:00:00 2001 From: Lynne Date: Tue, 13 Nov 2018 23:17:19 +1000 Subject: [PATCH] the file you run with flask is now wsgi.py --- web.py | 3 --- wsgi.py | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 wsgi.py diff --git a/web.py b/web.py index e169f58..6a19643 100755 --- a/web.py +++ b/web.py @@ -251,6 +251,3 @@ def cc_connect_complete(): @app.route('/settings') def settings_page(): return render_template('settings.html') - -if __name__ == "__main__": - app.run() #4734 is t9 for 'greg' \ No newline at end of file diff --git a/wsgi.py b/wsgi.py new file mode 100644 index 0000000..9280bde --- /dev/null +++ b/wsgi.py @@ -0,0 +1,4 @@ +from web import app + +if __name__ == "__main__": + app.run() \ No newline at end of file