diff options
author | Nitzo <nitzo2001@yahoo.com> | 2016-01-02 00:37:43 +0100 |
---|---|---|
committer | Nitzo <nitzo2001@yahoo.com> | 2016-01-02 00:37:43 +0100 |
commit | 7ab16b360739c4754c954ceb54b226ab0a30c215 (patch) | |
tree | c7d522cfe574f43ebb862d51f3693cd974cde04f /module/plugins/hooks/ClickNLoad.py | |
parent | [ExternalScripts] fix #2251 + much more (diff) | |
download | pyload-7ab16b360739c4754c954ceb54b226ab0a30c215.tar.xz |
"is" is evil
Diffstat (limited to 'module/plugins/hooks/ClickNLoad.py')
-rw-r--r-- | module/plugins/hooks/ClickNLoad.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/ClickNLoad.py b/module/plugins/hooks/ClickNLoad.py index 83d71d8e3..4ac6b507f 100644 --- a/module/plugins/hooks/ClickNLoad.py +++ b/module/plugins/hooks/ClickNLoad.py @@ -16,7 +16,7 @@ from module.plugins.internal.misc import forward, lock class ClickNLoad(Addon): __name__ = "ClickNLoad" __type__ = "hook" - __version__ = "0.52" + __version__ = "0.53" __status__ = "testing" __config__ = [("activated", "bool" , "Activated" , True ), @@ -93,7 +93,7 @@ class ClickNLoad(Addon): server_socket.connect((webip, webport)) - self.forward(client_socket, server_socket, self.config.get('dest') is "queue") + self.forward(client_socket, server_socket, self.config.get('dest') == "queue") self.forward(server_socket, client_socket) except socket.timeout: |