##// END OF EJS Templates
add target_name as first arg to Comm constructor
MinRK -
Show More
@@ -56,7 +56,9 b' class Comm(LoggingConfigurable):'
56 56
57 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 62 super(Comm, self).__init__(**kwargs)
61 63 get_ipython().comm_manager.register_comm(self)
62 64 if self.primary:
General Comments 0
You need to be logged in to leave comments. Login now