##// END OF EJS Templates
use self.kernel_manager_class in qtconsoleapp
MinRK -
Show More
@@ -178,7 +178,7 class IPythonQtConsoleApp(BaseIPythonApplication, IPythonConsoleApp):
178 """ Create and return new frontend attached to new kernel, launched on localhost.
178 """ Create and return new frontend attached to new kernel, launched on localhost.
179 """
179 """
180 ip = self.ip if self.ip in LOCAL_IPS else LOCALHOST
180 ip = self.ip if self.ip in LOCAL_IPS else LOCALHOST
181 kernel_manager = QtKernelManager(
181 kernel_manager = self.kernel_manager_class(
182 ip=ip,
182 ip=ip,
183 connection_file=self._new_connection_file(),
183 connection_file=self._new_connection_file(),
184 config=self.config,
184 config=self.config,
@@ -204,7 +204,7 class IPythonQtConsoleApp(BaseIPythonApplication, IPythonConsoleApp):
204 current_widget : IPythonWidget
204 current_widget : IPythonWidget
205 The IPythonWidget whose kernel this frontend is to share
205 The IPythonWidget whose kernel this frontend is to share
206 """
206 """
207 kernel_manager = QtKernelManager(
207 kernel_manager = self.kernel_manager_class(
208 connection_file=current_widget.kernel_manager.connection_file,
208 connection_file=current_widget.kernel_manager.connection_file,
209 config = self.config,
209 config = self.config,
210 )
210 )
General Comments 0
You need to be logged in to leave comments. Login now