mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 02:26:53 -07:00
Remove superfluous try..except
This commit is contained in:
parent
e3d282d0d4
commit
87d6378768
1 changed files with 2 additions and 5 deletions
|
@ -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
|
||||
response = self.opener.open(request)
|
||||
return response.code, json.loads(response.read())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue