From 1f0c12f33b49d898de77a2bfffb2a9ed93c43e83 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 17 Oct 2019 19:46:05 +0200 Subject: [PATCH 1/2] Fix bug --- royalherald/server.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/royalherald/server.py b/royalherald/server.py index 7a5e3ba3..18ab33f7 100644 --- a/royalherald/server.py +++ b/royalherald/server.py @@ -52,7 +52,7 @@ class Server: matching = [client for client in self.identified_clients if client.link_type == link_type] 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.") connected_client = ConnectedClient(websocket) # Wait for identification diff --git a/setup.py b/setup.py index cfb4fd47..5fdf8a83 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ with open("README.md", "r") as f: setuptools.setup( name="royalherald", - version="5.0b4", + version="5.0b5", author="Stefano Pigozzi", author_email="ste.pigozzi@gmail.com", description="A websocket communication protocol", From 9f93e05701c74be219d2df7294e14df764ef4f9b Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 17 Oct 2019 19:47:48 +0200 Subject: [PATCH 2/2] Copy pypi script --- to_pypi.bat | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 to_pypi.bat diff --git a/to_pypi.bat b/to_pypi.bat new file mode 100644 index 00000000..beb035bc --- /dev/null +++ b/to_pypi.bat @@ -0,0 +1,3 @@ +del /f /q /s dist\*.* +python setup.py sdist bdist_wheel +twine upload dist/*