summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-12 00:29:23 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2015-02-12 00:29:23 +0100
commit65a02207360423ea83314eb3ea3178095c1bbd2e (patch)
tree158fc1338845a6a9a2be0070fa5216e96f32cac5 /module/plugins
parent[ClickAndLoad] Fix https://github.com/pyload/pyload/issues/1158 (diff)
downloadpyload-65a02207360423ea83314eb3ea3178095c1bbd2e.tar.xz
[ClickAndLoad] Small code cosmetics
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hooks/ClickAndLoad.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hooks/ClickAndLoad.py b/module/plugins/hooks/ClickAndLoad.py
index 40e6ded65..d0f340aae 100644
--- a/module/plugins/hooks/ClickAndLoad.py
+++ b/module/plugins/hooks/ClickAndLoad.py
@@ -3,7 +3,6 @@
import socket
from threading import Thread, Lock
-from time import sleep
from module.plugins.Hook import Hook, threaded
@@ -100,6 +99,7 @@ class ClickAndLoad(Hook):
self.manager.startThread(forward, client_socket, dock_socket)
self.manager.startThread(forward, dock_socket, client_socket)
+
client_socket.close()
dock_socket.close()