summaryrefslogtreecommitdiffstats
path: root/pyload/webui/__init__.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-12 17:21:33 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-05-12 17:21:33 +0200
commit0c525f750dad3f57297836ddea02da7d42ad5969 (patch)
tree2df5f1cd3fb29c71386e197ab782a7385b8e42bd /pyload/webui/__init__.py
parentMerge branch 'stable' into 0.4.10 (diff)
downloadpyload-0c525f750dad3f57297836ddea02da7d42ad5969.tar.xz
Other import fixes (4)
Diffstat (limited to 'pyload/webui/__init__.py')
-rw-r--r--pyload/webui/__init__.py8
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