diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-08-12 15:04:38 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-08-12 15:04:38 +0200 |
commit | 3f8de978096c9bc3f14cf442ec61549d3dc8397e (patch) | |
tree | 938d3c87364ac07259a9a3d813a1fe726bba12ca /module/thread_list.py | |
parent | pyCurl possibility, only for testing (diff) | |
download | pyload-3f8de978096c9bc3f14cf442ec61549d3dc8397e.tar.xz |
pycurl interface, need some testing
Diffstat (limited to 'module/thread_list.py')
-rw-r--r-- | module/thread_list.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/module/thread_list.py b/module/thread_list.py index c578ac752..18e445209 100644 --- a/module/thread_list.py +++ b/module/thread_list.py @@ -87,6 +87,12 @@ class Thread_List(object): """manage completing download""" self.lock.acquire() + if pyfile.plugin.req.curl: + try: + pyfile.plugin.req.pycurl.close() + except: + pass + if not pyfile.plugin.multi_dl: self.occ_plugins.remove(pyfile.modul.__name__) |