fix and ver 1.1.5

This commit is contained in:
Florent 2025-07-18 07:39:45 +02:00
parent 4e4731a64b
commit a726309a89
2 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "meshcore-cli"
version = "1.1.4"
version = "1.1.5"
authors = [
{ name="Florent de Lamotte", email="florent@frizoncorrea.fr" },
]

View file

@ -23,7 +23,7 @@ from prompt_toolkit.shortcuts import radiolist_dialog
from meshcore import MeshCore, EventType, logger
# Version
VERSION = "v1.1.3"
VERSION = "v1.1.5"
# default ble address is stored in a config file
MCCLI_CONFIG_DIR = str(Path.home()) + "/.config/meshcore/"
@ -1239,7 +1239,7 @@ async def next_cmd(mc, cmds, json_output=False):
if json_output :
print(json.dumps({"auto_update_contacts" : mc.auto_update_contacts}))
else :
print(f"auto_update_contacts: {"on" if mc.auto_update_contacts else "off"}")
print(f"auto_update_contacts: {'on' if mc.auto_update_contacts else 'off'}")
case "custom" :
res = await mc.commands.get_custom_vars()
logger.debug(res)