diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-12-15 14:00:42 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-12-15 14:00:42 +0100 |
commit | 8fbde7a43b4f838df0379fdb4acd791713b639b7 (patch) | |
tree | bb7e78afc6a34823e078ab64c6965321c6866e85 /pyload/plugins/addons | |
parent | added new file states (diff) | |
download | pyload-8fbde7a43b4f838df0379fdb4acd791713b639b7.tar.xz |
more options to get webUI through proxy working
Diffstat (limited to 'pyload/plugins/addons')
-rw-r--r-- | pyload/plugins/addons/ClickAndLoad.py | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/pyload/plugins/addons/ClickAndLoad.py b/pyload/plugins/addons/ClickAndLoad.py index 0d9538543..be360c30c 100644 --- a/pyload/plugins/addons/ClickAndLoad.py +++ b/pyload/plugins/addons/ClickAndLoad.py @@ -33,14 +33,13 @@ class ClickAndLoad(Addon): __author_mail__ = ("RaNaN@pyload.de", "mkaay@mkaay.de") def coreReady(self): - self.port = int(self.config['webinterface']['port']) - if self.config['webinterface']['activated']: - if self.getConfig("extern"): - ip = "0.0.0.0" - else: - ip = "127.0.0.1" + self.port = int(self.config['webUI']['port']) + if self.getConfig("extern"): + ip = "0.0.0.0" + else: + ip = "127.0.0.1" - thread.start_new_thread(proxy, (self, ip, self.port, 9666)) + thread.start_new_thread(proxy, (self, ip, self.port, 9666)) def proxy(self, *settings): |