fix line break error

This commit is contained in:
nagumii 2024-09-26 19:02:17 +03:00
parent 592f8bd073
commit 251825a123

View File

@ -24,7 +24,7 @@ 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")}\'")
logging.info(f"Sending message to user '{get_node_short_name(destid, interface)}' ({destid}) with sendID {d.id}: \"{chunk.replace('\n', '\\n')}\"")
except Exception as e:
logging.info(f"REPLY SEND ERROR {e.message}")