Update system.py

This commit is contained in:
SpudGunMan
2024-08-21 20:04:16 -07:00
parent 69bf2d7081
commit a223e57690
+1 -1
View File
@@ -415,7 +415,7 @@ def send_message(message, ch, nodeid=0, nodeInt=1):
for word in split_message:
if len(line + word) < MESSAGE_CHUNK_SIZE:
if word == 'NEWLINE':
if 'NEWLINE' in word or '\n' in word or '\r' in word or 'NEWLINE ' in word:
# chunk by newline if it exists
message_list.append(line)
line = ''