diff options
Diffstat (limited to 'module/network/Request.py')
-rwxr-xr-x | module/network/Request.py | 6 |
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__": |