Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DOC] Typo in JSON API example code #496

Open
fleborne opened this issue Oct 17, 2022 · 1 comment
Open

[DOC] Typo in JSON API example code #496

fleborne opened this issue Oct 17, 2022 · 1 comment
Assignees

Comments

@fleborne
Copy link

Insert the documentation link:
https://www.luos.io/docs/tools/api-json#custom-parameters-and-specific-messages

Describe the issue or the suggestion:

The following snippet is wrong:

def sendCmd(s, cmd, sleep_time=0.5):
    cmd = cmd + '\network'

How would you fix the issue / which content would you add or delete?

def sendCmd(s, cmd, sleep_time=0.5):
    cmd = cmd + '\n'
@Simonbdy
Copy link
Collaborator

Thanks @fleborne.

@Salem-Tho could you have a look to confirm the proposed solution? Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants