forked from platypush/platypush
Removed references to deprecated websockets attributes
This commit is contained in:
parent
4e1e6da67e
commit
2e7f3d8868
1 changed files with 3 additions and 3 deletions
|
@ -135,9 +135,9 @@ class WebsocketPlugin(Plugin):
|
||||||
time_start = time.time()
|
time_start = time.time()
|
||||||
time_end = time_start + timeout if timeout else 0
|
time_end = time_start + timeout if timeout else 0
|
||||||
url = 'ws{secure}://{host}:{port}{path}'.format(
|
url = 'ws{secure}://{host}:{port}{path}'.format(
|
||||||
secure='s' if ws.secure else '',
|
secure='s' if ws._secure else '',
|
||||||
host=ws.host,
|
host=ws.remote_address[0],
|
||||||
port=ws.port,
|
port=ws.remote_address[1],
|
||||||
path=ws.path,
|
path=ws.path,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue