mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-07-31 14:02:40 +02:00
Update system.py
This commit is contained in:
@@ -253,6 +253,8 @@ def get_node_location(number, nodeInt=1):
|
||||
return position
|
||||
|
||||
def send_message(message, ch, nodeid=0, nodeInt=1):
|
||||
if message == "":
|
||||
return
|
||||
# if message over MESSAGE_CHUNK_SIZE characters, split it into multiple messages
|
||||
if len(message) > MESSAGE_CHUNK_SIZE:
|
||||
print (f"{log_timestamp()} System: Splitting Message, Message Length: {len(message)}")
|
||||
|
||||
Reference in New Issue
Block a user