diff options
Diffstat (limited to 'module/network/Request.py')
-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 |