diff --git a/weblight/__init__.py b/weblight/__init__.py index e69de29..0ccc333 100644 --- a/weblight/__init__.py +++ b/weblight/__init__.py @@ -0,0 +1,2 @@ +from .app import app + diff --git a/weblight/__main__.py b/weblight/app.py similarity index 87% rename from weblight/__main__.py rename to weblight/app.py index 2dc4dde..aaf6cd1 100644 --- a/weblight/__main__.py +++ b/weblight/app.py @@ -27,5 +27,5 @@ def reroute(state): response = make_response(redirect(url_for('index'))) return response -if __name__ == '__main__': - app.run(debug=False, host='0.0.0.0', port=8000) +#if __name__ == '__main__': +# app.run(debug=False, host='0.0.0.0', port=8000)