diff options
Diffstat (limited to 'pyload/webui/__init__.py')
-rw-r--r-- | pyload/webui/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pyload/webui/__init__.py b/pyload/webui/__init__.py index a0e849a11..e1fe6738f 100644 --- a/pyload/webui/__init__.py +++ b/pyload/webui/__init__.py @@ -107,13 +107,13 @@ def run_lightweight(host="0.0.0.0", port="8000"): def run_threaded(host="0.0.0.0", port="8000", theads=3, cert="", key=""): - from wsgiserver import CherryPyWSGIServer + import wsgiserver if cert and key: - CherryPyWSGIServer.ssl_certificate = cert - CherryPyWSGIServer.ssl_private_key = key + wsgiserver.CherryPyWSGIServer.ssl_certificate = cert + wsgiserver.CherryPyWSGIServer.ssl_private_key = key - CherryPyWSGIServer.numthreads = theads + wsgiserver.CherryPyWSGIServer.numthreads = theads from pyload.webui.app.utils import CherryPyWSGI |