summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/ClickAndLoad.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/ClickAndLoad.py')
-rw-r--r--module/plugins/hooks/ClickAndLoad.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/ClickAndLoad.py b/module/plugins/hooks/ClickAndLoad.py
index 61e28f469..f6c226225 100644
--- a/module/plugins/hooks/ClickAndLoad.py
+++ b/module/plugins/hooks/ClickAndLoad.py
@@ -42,11 +42,11 @@ class ClickAndLoad(Addon):
def activate(self):
- if not self.core.config.get("webinterface", "activated"):
+ if not self.pyload.config.get("webinterface", "activated"):
return
ip = "" if self.get_config('extern') else "127.0.0.1"
- webport = self.core.config.get("webinterface", "port")
+ webport = self.pyload.config.get("webinterface", "port")
cnlport = self.get_config('port')
self.proxy(ip, webport, cnlport)
@@ -78,7 +78,7 @@ class ClickAndLoad(Addon):
server_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
- if self.core.config.get("webinterface", "https"):
+ if self.pyload.config.get("webinterface", "https"):
try:
server_socket = ssl.wrap_socket(server_socket)