Skip to content

Commit 5ed55d0

Browse files
authored
Merge pull request #45 from arkadybag/patch-1
Fix typo in readme
2 parents 90304e3 + 5f0fe0f commit 5ed55d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ async def on_trigger(data):
107107

108108
async with PubSubClient(server_uri="ws://localhost/pubsub") as client:
109109
# Subscribe for the event
110-
client.subscribe("triggered", on_event)
110+
client.subscribe("triggered", on_trigger)
111111

112112
```
113113

0 commit comments

Comments
 (0)