Skip to content

[DOC] Typo in JSON API example code #496

@fleborne

Description

@fleborne

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'

Metadata

Metadata

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions