mirror of
https://github.com/django/daphne.git
synced 2025-07-27 07:29:46 +03:00
erro correction in modification
This commit is contained in:
parent
3a58755140
commit
e448858978
|
@ -296,7 +296,7 @@ class WebSocketProtocol(WebSocketServerProtocol):
|
||||||
return id(self) == id(other)
|
return id(self) == id(other)
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return "" % (self.client_addr, self.path)
|
return "<WebSocketProtocol client=%r path=%r>" % (self.client_addr, self.path)
|
||||||
|
|
||||||
|
|
||||||
class WebSocketFactory(WebSocketServerFactory):
|
class WebSocketFactory(WebSocketServerFactory):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user