From a726309a8994f432df2043533c33d115d0d321be Mon Sep 17 00:00:00 2001 From: Florent Date: Fri, 18 Jul 2025 07:39:45 +0200 Subject: [PATCH] fix and ver 1.1.5 --- pyproject.toml | 2 +- src/meshcore_cli/meshcore_cli.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 82b1d4b..883e6f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" }, ] diff --git a/src/meshcore_cli/meshcore_cli.py b/src/meshcore_cli/meshcore_cli.py index 9764b2f..6a73ba0 100644 --- a/src/meshcore_cli/meshcore_cli.py +++ b/src/meshcore_cli/meshcore_cli.py @@ -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)