1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-27 13:34:28 +00:00

Merge branch 'master' of github.com:Steffo99/royalherald

This commit is contained in:
Steffo 2019-10-18 15:19:12 +02:00
commit 43d692fdae
3 changed files with 5 additions and 2 deletions

View file

@ -52,7 +52,7 @@ class Server:
matching = [client for client in self.identified_clients if client.link_type == link_type] matching = [client for client in self.identified_clients if client.link_type == link_type]
return matching or [] return matching or []
async def listener(self, websocket: websockets.server.WebSocketServerProtocol): async def listener(self, websocket: websockets.server.WebSocketServerProtocol, path):
log.info(f"{websocket.remote_address} connected to the server.") log.info(f"{websocket.remote_address} connected to the server.")
connected_client = ConnectedClient(websocket) connected_client = ConnectedClient(websocket)
# Wait for identification # Wait for identification

View file

@ -5,7 +5,7 @@ with open("README.md", "r") as f:
setuptools.setup( setuptools.setup(
name="royalherald", name="royalherald",
version="5.0b4", version="5.0b5",
author="Stefano Pigozzi", author="Stefano Pigozzi",
author_email="ste.pigozzi@gmail.com", author_email="ste.pigozzi@gmail.com",
description="A websocket communication protocol", description="A websocket communication protocol",

3
to_pypi.bat Normal file
View file

@ -0,0 +1,3 @@
del /f /q /s dist\*.*
python setup.py sdist bdist_wheel
twine upload dist/*