From db71bd771bb3d2dc329b692ffc168dd6b99caa3d Mon Sep 17 00:00:00 2001 From: Vince Loschiavo Date: Sat, 29 Jun 2024 16:33:51 -0700 Subject: [PATCH] Fix for bulletin issue - Info and News was swapped on line 151 [issue #28] --- command_handlers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/command_handlers.py b/command_handlers.py index 8e81266..0f7e008 100644 --- a/command_handlers.py +++ b/command_handlers.py @@ -148,7 +148,7 @@ def handle_stats_steps(sender_id, message, step, interface, bbs_nodes): def handle_bb_steps(sender_id, message, step, state, interface, bbs_nodes): - boards = {0: "General", 1: "News", 2: "Info", 3: "Urgent"} + boards = {0: "General", 1: "Info", 2: "News", 3: "Urgent"} if step == 1: if message == '4': @@ -397,4 +397,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)