mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
correct some f-strings
This commit is contained in:
parent
3f678880cd
commit
a15346339d
1 changed files with 2 additions and 2 deletions
|
|
@ -601,7 +601,7 @@ async def next_cmd(mc, cmds, json_output=False):
|
|||
elif json_output :
|
||||
print(json.dumps(res.payload, indent=4))
|
||||
else:
|
||||
print(f"{res.payload["response"]}")
|
||||
print(f"{res.payload['response']}")
|
||||
|
||||
case _ :
|
||||
if cmd[0] == "@" :
|
||||
|
|
@ -612,7 +612,7 @@ async def next_cmd(mc, cmds, json_output=False):
|
|||
elif json_output :
|
||||
print(json.dumps(res.payload, indent=4))
|
||||
else:
|
||||
print(f"{res.payload["response"]}")
|
||||
print(f"{res.payload['response']}")
|
||||
|
||||
else :
|
||||
logger.error(f"Unknown command : {cmd}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue