hadsh: Add missed bracket

This commit is contained in:
Stuart Longland 2018-01-06 17:56:51 +10:00
parent 4ae4aa701d
commit 129fb8acf0
Signed by: stuartl
GPG Key ID: 6AA32EFB18079BAA

View File

@ -162,7 +162,7 @@ class HackadayAPI(object):
(ct, ctopts, body) = self._decode(response)
if ct.lower() != 'application/json':
raise ValueError('Server returned unrecognised type %s' % ct)
raise Return(json.loads(body)
raise Return(json.loads(body))
# oAuth endpoints