From 527094f2bbdb4960b9f1319e5056fefb3f1f7dbb Mon Sep 17 00:00:00 2001 From: dharm pimsen <64675096+damp11113@users.noreply.github.com> Date: Sat, 30 Mar 2024 23:26:26 +0700 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4e628eb..fca31ba 100644 --- a/README.md +++ b/README.md @@ -30,9 +30,9 @@ useraccount.add_account("admin", "") # create user without password ssh = Server(useraccount) @ssh.on_user("command") -def command(channel, command: str, client): +def command(client, command: str): if command == "hello": - Send(channel, "world!") + Send(client, "world!") ssh.run(os.path.join(os.path.dirname(os.path.realpath(__file__)), 'private_key.pem')) ```