mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Merge branch 'master' of github.com:Steffo99/royalherald
This commit is contained in:
commit
43d692fdae
3 changed files with 5 additions and 2 deletions
|
@ -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
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -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
3
to_pypi.bat
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
del /f /q /s dist\*.*
|
||||||
|
python setup.py sdist bdist_wheel
|
||||||
|
twine upload dist/*
|
Loading…
Reference in a new issue