[DOC] Typo in JSON API example code
fleborne opened this issue · 1 comments
fleborne commented
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 commented
Thanks @fleborne.
@Salem-Tho could you have a look to confirm the proposed solution? Thank you