diff options
Diffstat (limited to 'module/web/ServerThread.py')
-rw-r--r-- | module/web/ServerThread.py | 3 |
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 |