diff options
Diffstat (limited to 'module/plugins/hooks/ClickAndLoad.py')
-rw-r--r-- | module/plugins/hooks/ClickAndLoad.py | 4 |
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() |