diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-01-04 11:57:50 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-01-04 11:57:50 +0100 |
commit | 3ff31b5c10b69f687aeb0d4fdd0a79d144cac79b (patch) | |
tree | 362e004891e9189e520e8424f32e78a92ffbe5e4 /module/web/webinterface.py | |
parent | import fix for py 2.5 (diff) | |
download | pyload-3ff31b5c10b69f687aeb0d4fdd0a79d144cac79b.tar.xz |
removed unneeded stuff
Diffstat (limited to 'module/web/webinterface.py')
-rw-r--r-- | module/web/webinterface.py | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/module/web/webinterface.py b/module/web/webinterface.py index 850ed5bdc..0fdf3c2ab 100644 --- a/module/web/webinterface.py +++ b/module/web/webinterface.py @@ -127,12 +127,8 @@ import api_app # Server Adapter
-def run_simple(host="0.0.0.0", port="8000"):
- run(app=web, host=host, port=port, quiet=True)
-
-
-def run_lightweight(host="0.0.0.0", port="8000"):
- run(app=web, host=host, port=port, quiet=True, server="bjoern")
+def run_server(host="0.0.0.0", port="8000", server="wsgiref"):
+ run(app=web, host=host, port=port, quiet=True, server=server)
def run_threaded(host="0.0.0.0", port="8000", threads=6, cert="", key=""):
@@ -149,11 +145,5 @@ def run_threaded(host="0.0.0.0", port="8000", threads=6, cert="", key=""): run(app=web, host=host, port=port, server=CherryPyWSGI, quiet=True)
-def run_fcgi(host="0.0.0.0", port="8000"):
- from bottle import FlupFCGIServer
-
- run(app=web, host=host, port=port, server=FlupFCGIServer, quiet=True)
-
-
if __name__ == "__main__":
run(app=web, port=8001)
|