diff --git a/royalherald/server.py b/royalherald/server.py index f7572c41..977782d0 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", 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/*