##// END OF EJS Templates
Improve detection of when to load guiref magic
Carlos Cordoba -
Show More
@@ -280,8 +280,7 b' class IPythonWidget(FrontendWidget):'
280 """Handle kernel info replies."""
280 """Handle kernel info replies."""
281 content = rep['content']
281 content = rep['content']
282 if not self._guiref_loaded:
282 if not self._guiref_loaded:
283 lang_info = content.get('language_info')
283 if content.get('implementation') == 'ipython':
284 if lang_info.get('name') == 'python':
285 self._load_guiref_magic()
284 self._load_guiref_magic()
286 self._guiref_loaded = True
285 self._guiref_loaded = True
287
286
General Comments 0
You need to be logged in to leave comments. Login now