From ee0b302d2ead02b6f78840e6557e8b562548b993 Mon Sep 17 00:00:00 2001 From: Florent Date: Sat, 8 Mar 2025 11:08:31 +0100 Subject: [PATCH] invalid char --- mccli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mccli.py b/mccli.py index fc9dfef..dc90673 100755 --- a/mccli.py +++ b/mccli.py @@ -630,11 +630,11 @@ async def next_cmd(mc, cmds): argnum = 1 await mc.ensure_contacts() print(await mc.share_contact(bytes.fromhex(mc.contacts[cmds[1]]["public_key"]))) - case "export_contact" | "ec": + case "export_contact"|"ec": argnum = 1 await mc.ensure_contacts() print(await mc.export_contact(bytes.fromhex(mc.contacts[cmds[1]]["public_key"]))) - case "export_myself" | "e": + case "export_myself"|"e": print(await mc.export_contact()) case "remove_contact" : argnum = 1