Show More
@@ -56,7 +56,9 b' class Comm(LoggingConfigurable):' | |||||
56 |
|
56 | |||
57 | primary = Bool(True, help="Am I the primary or secondary Comm?") |
|
57 | primary = Bool(True, help="Am I the primary or secondary Comm?") | |
58 |
|
58 | |||
59 | def __init__(self, data=None, **kwargs): |
|
59 | def __init__(self, target_name='', data=None, **kwargs): | |
|
60 | if target_name: | |||
|
61 | kwargs['target_name'] = target_name | |||
60 | super(Comm, self).__init__(**kwargs) |
|
62 | super(Comm, self).__init__(**kwargs) | |
61 | get_ipython().comm_manager.register_comm(self) |
|
63 | get_ipython().comm_manager.register_comm(self) | |
62 | if self.primary: |
|
64 | if self.primary: |
General Comments 0
You need to be logged in to leave comments.
Login now