diff options
author | mkaay <mkaay@mkaay.de> | 2010-05-06 17:53:48 +0200 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2010-05-06 17:53:48 +0200 |
commit | 66b84a69745e41e8543ffd7ee0abb137a81f2563 (patch) | |
tree | 93d8894761b08fd0f1ba3870f475892f7dd22cfc /module/network | |
parent | new request factory (diff) | |
download | pyload-66b84a69745e41e8543ffd7ee0abb137a81f2563.tar.xz |
better request factory
Diffstat (limited to 'module/network')
-rwxr-xr-x | module/network/Request.py | 7 |
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): """ |