mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
correct f-string
This commit is contained in:
parent
a35aa83126
commit
4c78695b61
2 changed files with 2 additions and 2 deletions
|
|
@ -541,7 +541,7 @@ async def next_cmd(mc, cmds, json_output=False):
|
|||
if json_output :
|
||||
print(json.dumps({"print_snr" : process_event_message.print_snr}))
|
||||
else:
|
||||
print(f"{"on" if process_event_message.print_snr else "off"}")
|
||||
print(f"{'on' if process_event_message.print_snr else 'off'}")
|
||||
case "name":
|
||||
if json_output :
|
||||
print(json.dumps(mc.self_info["name"]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue