diff --git a/dingtalk_stream/stream.py b/dingtalk_stream/stream.py index 9f01fa6..1b34d6f 100644 --- a/dingtalk_stream/stream.py +++ b/dingtalk_stream/stream.py @@ -70,7 +70,7 @@ async def start(self): continue self.logger.info('endpoint is %s', connection) - uri = f"{connection["endpoint"]}?ticket={quote_plus(connection["ticket"])}" + uri = f'{connection["endpoint"]}?ticket={quote_plus(connection["ticket"])}' async with websockets.connect(uri) as websocket: self.websocket = websocket asyncio.create_task(self.keepalive(websocket)) diff --git a/dingtalk_stream/version.py b/dingtalk_stream/version.py index 59c4df7..5856c71 100644 --- a/dingtalk_stream/version.py +++ b/dingtalk_stream/version.py @@ -1 +1 @@ -VERSION_STRING = '0.24.1' +VERSION_STRING = '0.24.2'