summaryrefslogtreecommitdiffstats
path: root/module/network/Request.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/network/Request.py')
-rwxr-xr-xmodule/network/Request.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/module/network/Request.py b/module/network/Request.py
index 73ba06e2f..3340a74da 100755
--- a/module/network/Request.py
+++ b/module/network/Request.py
@@ -347,10 +347,13 @@ class Request:
def clean(self):
try:
- remove(self.cookieFile)
self.pycurl.close()
except:
- print "cant clean"
+ pass
+ try:
+ remove(self.cookieFile)
+ except Exception as e:
+ pass
def getURL(url):
"""