Bug fix in python chat impl
This commit is contained in:
parent
1d8f4d718c
commit
0645044194
|
@ -29,6 +29,7 @@ class ConnectionHandler(StreamRequestHandler):
|
|||
self.announce('you are %s' % (self.connection_id,))
|
||||
with active_connection_mutex:
|
||||
for c in active_connections:
|
||||
self.announce('%s arrived' % (c.connection_id,))
|
||||
c.announce('%s arrived' % (self.connection_id,))
|
||||
active_connections.add(self)
|
||||
|
||||
|
|
Loading…
Reference in New Issue