From 52de0163782d6a4a282497017132b3d25e420082 2015-03-13 21:24:04 From: Thomas Kluyver Date: 2015-03-13 21:24:04 Subject: [PATCH] Merge pull request #8048 from Carreau/i-heard-you-like-json-so-i-put-json-in-your-json-so-you-can-json-while-you-json json is json, not string. --- diff --git a/IPython/qt/console/magic_helper.py b/IPython/qt/console/magic_helper.py index ef6b59b..54680b5 100644 --- a/IPython/qt/console/magic_helper.py +++ b/IPython/qt/console/magic_helper.py @@ -131,9 +131,7 @@ class MagicHelper(QtGui.QDockWidget): self.search_class.clear() self.search_list.clear() - self.data = json.loads( - data['data'].get('application/json', {}) - ) + self.data = data['data'].get('application/json', {}) self.search_class.addItem('All Magics', 'any') classes = set()