From f639fbb54c6a8340efe0de4374c6e251ed5ddcda Mon Sep 17 00:00:00 2001 From: Blergo Date: Wed, 3 Jul 2024 14:35:45 +0100 Subject: [PATCH 1/3] Update server.py --- server.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server.py b/server.py index b590e63..7000736 100644 --- a/server.py +++ b/server.py @@ -3,7 +3,8 @@ """ TC²-BBS Server for Meshtastic by TheCommsChannel (TC²) Date: 06/25/2024 -Version: 0.1.0 +Yorkshire BBS Edition +Version: 0.1.01 Description: The system allows for mail message handling, bulletin boards, and a channel @@ -31,7 +32,8 @@ def display_banner(): ██║ ██║ ██╔═══╝ ╚════╝██╔══██╗██╔══██╗╚════██║ ██║ ╚██████╗███████╗ ██████╔╝██████╔╝███████║ ╚═╝ ╚═════╝╚══════╝ ╚═════╝ ╚═════╝ ╚══════╝ -Meshtastic Version +Yorkshire BBS Edition +Version: 0.1.01 """ print(banner) From 2822b7942c92a45a110cbd3b3f80d8c57fab3d98 Mon Sep 17 00:00:00 2001 From: Blergo Date: Wed, 3 Jul 2024 14:39:02 +0100 Subject: [PATCH 2/3] Update server.py --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 7000736..adcd44c 100644 --- a/server.py +++ b/server.py @@ -2,7 +2,7 @@ """ TC²-BBS Server for Meshtastic by TheCommsChannel (TC²) -Date: 06/25/2024 +Date: 03/07/2024 Yorkshire BBS Edition Version: 0.1.01 From a4aa980c404591169a5dd6856b998e9fc668e96d Mon Sep 17 00:00:00 2001 From: Blergo Date: Wed, 3 Jul 2024 14:48:37 +0100 Subject: [PATCH 3/3] Update command_handlers.py --- command_handlers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command_handlers.py b/command_handlers.py index d39e727..d272f5f 100644 --- a/command_handlers.py +++ b/command_handlers.py @@ -107,7 +107,7 @@ def handle_stats_steps(sender_id, message, step, interface, bbs_nodes): la2 = str(psutil.getloadavg()[1]) la3 = str(psutil.getloadavg()[2]) ramu = str(psutil.virtual_memory().percent) - response = "CPU: " + cpu + "Mhz\nLoad: " + la1 + ", " + la2 + ", " + la3 + "\nRAM: " + ramu + "% Used" + response = "Version: 0.1.01\nCPU: " + cpu + "Mhz\nLoad: " + la1 + ", " + la2 + ", " + la3 + "\nRAM: " + ramu + "% Used" send_message(response, sender_id, interface) handle_stats_command(sender_id, interface) return @@ -402,4 +402,4 @@ def handle_channel_directory_steps(sender_id, message, step, state, interface): channel_name = state['channel_name'] add_channel(channel_name, channel_url) send_message(f"Your channel '{channel_name}' has been added to the directory.", sender_id, interface) - handle_channel_directory_command(sender_id, interface) \ No newline at end of file + handle_channel_directory_command(sender_id, interface)