diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-04-03 11:06:18 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-04-03 11:06:18 +0200 |
commit | 44941dd9b11d9140589f7b1eacb9baf2a82d4c8b (patch) | |
tree | dd5c3ea532746bb6eae3ff9b7991165b6e5254af /module/web/ServerThread.py | |
parent | merged (diff) | |
download | pyload-44941dd9b11d9140589f7b1eacb9baf2a82d4c8b.tar.xz |
webif settings page
Diffstat (limited to 'module/web/ServerThread.py')
-rw-r--r-- | module/web/ServerThread.py | 4 |
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'] |