Skip to content

Commit b303419

Browse files
authored
Fix code issues in the doc
1 parent 5883752 commit b303419

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/azure-web-pubsub/quickstarts-push-messages-from-server.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ python -m venv env
180180
source ./env/bin/activ
181181

182182
pip install azure-messaging-webpubsubservice
183-
pip install websock
183+
pip install websockets
184184
```
185185

186186
#### Use the WebSocket API to connect to your Web PubSub resource. Create a `subscribe.py` file with the following code
@@ -213,8 +213,8 @@ if __name__ == '__main__':
213213

214214
try:
215215
asyncio.get_event_loop().run_until_complete(connect(token['url']))
216-
except KeyboardInterrupt:
217-
pass
216+
except KeyboardInterrupt:
217+
pass
218218

219219
```
220220

0 commit comments

Comments
 (0)