Permalink
Browse files

class-attribute sets default _local_kernel in FrontendWidget

  • Loading branch information...
1 parent c0bdb21 commit b9ee1914b49c74e4fcd4cedad7ce1fb57f43ba39 @minrk committed Oct 13, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 IPython/frontend/qt/console/frontend_widget.py
@@ -144,7 +144,7 @@ def __init__(self, *args, **kw):
document.contentsChange.connect(self._document_contents_change)
# set flag for whether we are connected via localhost
- self._local_kernel = kw.get('local_kernel', False)
+ self._local_kernel = kw.get('local_kernel', FrontendWidget._local_kernel)
@fperez
fperez Oct 13, 2010

Perfect, thanks!

#---------------------------------------------------------------------------
# 'ConsoleWidget' public interface

0 comments on commit b9ee191

Please sign in to comment.