Pārlūkot izejas kodu

tiny correction

Falko Schindler 2 gadi atpakaļ
vecāks
revīzija
f0ccc85c03
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      nicegui/client.py

+ 1 - 1
nicegui/client.py

@@ -112,7 +112,7 @@ class Client:
         """Execute JavaScript on the client.
 
         The client connection must be established before this method is called.
-        You can do this by `await client.connected()` or register a callback with `client.on_connected(...)`.
+        You can do this by `await client.connected()` or register a callback with `client.on_connect(...)`.
         If respond is True, the javascript code must return a string.
         """
         request_id = str(uuid.uuid4())