diff --git a/libs/utorrent/client.py b/libs/utorrent/client.py index 3d439084..ac6e2328 100644 --- a/libs/utorrent/client.py +++ b/libs/utorrent/client.py @@ -140,8 +140,5 @@ class UTorrentClient(object): if content_type: request.add_header('Content-type', content_type) - try: - response = self.opener.open(request) - return response.code, json.loads(response.read()) - except urllib2.HTTPError,e: - raise \ No newline at end of file + response = self.opener.open(request) + return response.code, json.loads(response.read())