From 129fb8acf0f05af3836d30d02f6ae29a9fee4617 Mon Sep 17 00:00:00 2001 From: Stuart Longland Date: Sat, 6 Jan 2018 17:56:51 +1000 Subject: [PATCH] hadsh: Add missed bracket --- hadsh/hadapi/hadapi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadsh/hadapi/hadapi.py b/hadsh/hadapi/hadapi.py index 3a05b8d..5289f4e 100644 --- a/hadsh/hadapi/hadapi.py +++ b/hadsh/hadapi/hadapi.py @@ -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