From a1188f972e849202e0a467da178957258cd9f009 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 30 Jun 2016 12:32:03 -0400 Subject: [PATCH] Bugfix - this was backwards. --- rida.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rida.py b/rida.py index fdf3c7dd..3f996a50 100755 --- a/rida.py +++ b/rida.py @@ -51,7 +51,7 @@ db = database.Database() def submit_build(): """Handles new module build submissions.""" try: - r = json.dumps(request.data) + r = json.loads(request.data.decode('utf-8')) except: # Invalid JSON submitted return "", 400