summaryrefslogtreecommitdiffstats
path: root/module/web/ServerThread.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-03-09 18:22:41 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-03-09 18:22:41 +0100
commit0aaa4f998211e8c63d6b43d3a36fe7d6b561a36f (patch)
treeecd879a022d52c152cd73238eecb0a51ba51e36e /module/web/ServerThread.py
parentfix (diff)
downloadpyload-0aaa4f998211e8c63d6b43d3a36fe7d6b561a36f.tar.xz
several fixes, closed #84
Diffstat (limited to 'module/web/ServerThread.py')
-rw-r--r--module/web/ServerThread.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/web/ServerThread.py b/module/web/ServerThread.py
index ffd6a2d35..49fd9b055 100644
--- a/module/web/ServerThread.py
+++ b/module/web/ServerThread.py
@@ -38,7 +38,7 @@ class WebServer(threading.Thread):
except Exception:
self.lighttpd = False
- if self.lighttpd and self.pycore.config['webinterface']['lighttpd']:
+ if self.lighttpd:
self.pycore.logger.info("Starting lighttpd Webserver: %s:%s" % (host, port))
config = file(join(path, "lighttpd", "lighttpd_default.conf"), "rb")
content = config.readlines()
@@ -79,6 +79,7 @@ class WebServer(threading.Thread):
else:
self.p.kill()
+ return True
except:
pass