mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 12:59:36 -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:
|
if content_type:
|
||||||
request.add_header('Content-type', content_type)
|
request.add_header('Content-type', content_type)
|
||||||
|
|
||||||
try:
|
|
||||||
response = self.opener.open(request)
|
response = self.opener.open(request)
|
||||||
return response.code, json.loads(response.read())
|
return response.code, json.loads(response.read())
|
||||||
except urllib2.HTTPError,e:
|
|
||||||
raise
|
|
Loading…
Add table
Add a link
Reference in a new issue