hadsh: Add missed bracket
This commit is contained in:
parent
4ae4aa701d
commit
129fb8acf0
@ -162,7 +162,7 @@ class HackadayAPI(object):
|
|||||||
(ct, ctopts, body) = self._decode(response)
|
(ct, ctopts, body) = self._decode(response)
|
||||||
if ct.lower() != 'application/json':
|
if ct.lower() != 'application/json':
|
||||||
raise ValueError('Server returned unrecognised type %s' % ct)
|
raise ValueError('Server returned unrecognised type %s' % ct)
|
||||||
raise Return(json.loads(body)
|
raise Return(json.loads(body))
|
||||||
|
|
||||||
# oAuth endpoints
|
# oAuth endpoints
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user