summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/ClickAndLoad.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2010-02-08 13:04:21 +0100
committerGravatar mkaay <mkaay@mkaay.de> 2010-02-08 13:04:21 +0100
commit9ab155e95db32e03ca6438df12d38500f9d437f9 (patch)
treecf3ba616032324fc5be9ce572b8f239fec39ac31 /module/plugins/hooks/ClickAndLoad.py
parentFlashGot + ClickNLoad Support + Webif. improvm.!! pyLoad FTW !! (diff)
downloadpyload-9ab155e95db32e03ca6438df12d38500f9d437f9.tar.xz
fixed click'n'load, added youtube hd option
Diffstat (limited to 'module/plugins/hooks/ClickAndLoad.py')
-rw-r--r--module/plugins/hooks/ClickAndLoad.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/ClickAndLoad.py b/module/plugins/hooks/ClickAndLoad.py
index 83a328276..f7c12356b 100644
--- a/module/plugins/hooks/ClickAndLoad.py
+++ b/module/plugins/hooks/ClickAndLoad.py
@@ -36,7 +36,7 @@ class ClickAndLoad(Hook):
self.props = props
self.port = int(self.core.config['webinterface']['port'])
- if not self.core.config['webinterface']['activated']:
+ if self.core.config['webinterface']['activated']:
forwarder('127.0.0.1', 9666, '127.0.0.1', self.port)
thread.start_new_thread(asyncore.loop, ())
@@ -109,4 +109,4 @@ class sender(asyncore.dispatcher):
def handle_close(self):
self.close()
- self.receiver.close() \ No newline at end of file
+ self.receiver.close()