##// END OF EJS Templates
json is json, not string....
Matthias Bussonnier -
Show More
@@ -131,9 +131,7 b' class MagicHelper(QtGui.QDockWidget):'
131 self.search_class.clear()
131 self.search_class.clear()
132 self.search_list.clear()
132 self.search_list.clear()
133
133
134 self.data = json.loads(
134 self.data = data['data'].get('application/json', {})
135 data['data'].get('application/json', {})
136 )
137
135
138 self.search_class.addItem('All Magics', 'any')
136 self.search_class.addItem('All Magics', 'any')
139 classes = set()
137 classes = set()
General Comments 0
You need to be logged in to leave comments. Login now