diff options
| author | 2015-05-12 17:21:33 +0200 | |
|---|---|---|
| committer | 2015-05-12 17:21:33 +0200 | |
| commit | 0c525f750dad3f57297836ddea02da7d42ad5969 (patch) | |
| tree | 2df5f1cd3fb29c71386e197ab782a7385b8e42bd /pyload/webui/__init__.py | |
| parent | Merge branch 'stable' into 0.4.10 (diff) | |
| download | pyload-0c525f750dad3f57297836ddea02da7d42ad5969.tar.xz | |
Other import fixes (4)
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 |
