From 8a00e435cca029a7b8eec64c93e131e20f6e1e52 Mon Sep 17 00:00:00 2001 From: nagumii Date: Fri, 27 Sep 2024 16:32:58 +0300 Subject: [PATCH] retry fix --- utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils.py b/utils.py index 6dde672..f1809e8 100644 --- a/utils.py +++ b/utils.py @@ -24,7 +24,8 @@ def send_message(message, destination, interface): wantResponse=False ) destid = get_node_id_from_num(destination, interface) - logging.info(f"Sending message to user '{get_node_short_name(destid, interface)}' ({destid}) with sendID {d.id}: \"{chunk.replace('\n', '\\n')}\"") + chunk = chunk.replace('\n', '\\n') + logging.info(f"Sending message to user '{get_node_short_name(destid, interface)}' ({destid}) with sendID {d.id}: \"{chunk}\"") except Exception as e: logging.info(f"REPLY SEND ERROR {e.message}")