summaryrefslogtreecommitdiffstats
path: root/module/web/ServerThread.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/web/ServerThread.py')
-rw-r--r--module/web/ServerThread.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/module/web/ServerThread.py b/module/web/ServerThread.py
index aa1f67244..c4efc61dc 100644
--- a/module/web/ServerThread.py
+++ b/module/web/ServerThread.py
@@ -10,10 +10,14 @@ from cStringIO import StringIO
import threading
import sys
+core = None
+
class WebServer(threading.Thread):
def __init__(self, pycore):
+ global core
threading.Thread.__init__(self)
self.pycore = pycore
+ core = pycore
self.running = True
self.server = pycore.config['webinterface']['server']
self.https = pycore.config['webinterface']['https']