From 2a58b70a1749fc41a7f59c10cfd1f4be5cd57cf7 Mon Sep 17 00:00:00 2001 From: Florent Date: Fri, 18 Apr 2025 12:59:31 +0200 Subject: [PATCH] don't return if contact not found, just err and keep the old one --- src/meshcore_cli/meshcore_cli.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/meshcore_cli/meshcore_cli.py b/src/meshcore_cli/meshcore_cli.py index 88adaa6..bcaadca 100644 --- a/src/meshcore_cli/meshcore_cli.py +++ b/src/meshcore_cli/meshcore_cli.py @@ -200,7 +200,6 @@ Line starting with \"$\" or \".\" will issue a meshcli command. nc = mc.get_contact_by_name(dest) if nc is None: print(f"Contact '{dest}' not found in contacts.") - return else : contact = nc