From a02087bf2a2f18fe76752e11429a52d1512aa953 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Tue, 4 Oct 2016 21:11:43 +0100 Subject: [PATCH] Fixed fail --- RIGS/rigboard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RIGS/rigboard.py b/RIGS/rigboard.py index 3a4e3df6..b56ca7d3 100644 --- a/RIGS/rigboard.py +++ b/RIGS/rigboard.py @@ -63,7 +63,7 @@ class EventOembed(generic.View): 'type': 'rich', } # need to do this: @xframe_options_exempt - json = simplejson.JSONEncoderForHTML(data) + json = simplejson.JSONEncoderForHTML().encode(data) return HttpResponse(json, content_type="application/json")