diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-17 14:03:52 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-10-17 14:03:52 +0200 |
commit | 705d0e5163876c94b9b90a440eb38b152bcba1e0 (patch) | |
tree | c48a726a761e8ffd8e88b62ac5eae598984d985a /module/network | |
parent | hotfile (diff) | |
download | pyload-705d0e5163876c94b9b90a440eb38b152bcba1e0.tar.xz |
rs fix, more cleanup stuff
Diffstat (limited to 'module/network')
-rwxr-xr-x | module/network/Request.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/module/network/Request.py b/module/network/Request.py index 14c9f0a7a..31a5a7288 100755 --- a/module/network/Request.py +++ b/module/network/Request.py @@ -395,10 +395,15 @@ class Request: self.clean() if hasattr(self, "pycurl"): del self.pycurl + if hasattr(self, "cookieJar"): + del self.cookieJar def clean(self): + """ clean Reqest, its unusable after this """ try: self.pycurl.close() + if hasattr(self, "cookieJar"): + del self.cookieJar except: pass |