summaryrefslogtreecommitdiffstats
path: root/module/network/Request.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/network/Request.py')
-rwxr-xr-xmodule/network/Request.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/module/network/Request.py b/module/network/Request.py
index 76f94ae41..d035048ff 100755
--- a/module/network/Request.py
+++ b/module/network/Request.py
@@ -343,11 +343,7 @@ def getURL(url):
"""
req = Request()
c = req.load(url)
- if req.curl:
- try:
- req.pycurl.close()
- except:
- pass
+ req.pycurl.close()
return c
if __name__ == "__main__":