From d30811f92dab38afd2ba2f52570a792f0e333e27 Mon Sep 17 00:00:00 2001 From: AdvJosh <26547329+AdvJosh@users.noreply.github.com> Date: Tue, 4 Mar 2025 17:27:46 -0600 Subject: [PATCH] Corrected syntax by changing double quotes to single --- db_operations.py | 2 +- message_processing.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db_operations.py b/db_operations.py index a439127..917406b 100644 --- a/db_operations.py +++ b/db_operations.py @@ -84,7 +84,7 @@ def add_bulletin(board, sender_short_name, subject, content, bbs_nodes, interfac # New logic to send group chat notification for urgent bulletins if board.lower() == "urgent": - notification_message = f"💥NEW URGENT BULLETIN💥\nFrom: {sender_short_name}\nTitle: {subject}\nDM "CB,,Urgent" to view" + notification_message = f"💥NEW URGENT BULLETIN💥\nFrom: {sender_short_name}\nTitle: {subject}\nDM 'CB,,Urgent' to view" send_message(notification_message, BROADCAST_NUM, interface) return unique_id diff --git a/message_processing.py b/message_processing.py index 9db5b41..41bd7d7 100644 --- a/message_processing.py +++ b/message_processing.py @@ -71,7 +71,7 @@ def process_message(sender_id, message, interface, is_sync_message=False): add_bulletin(board, sender_short_name, subject, content, [], interface, unique_id=unique_id) if board.lower() == "urgent": - notification_message = f"💥NEW URGENT BULLETIN💥\nFrom: {sender_short_name}\nTitle: {subject}\nDM "CB,,Urgent" to view" + notification_message = f"💥NEW URGENT BULLETIN💥\nFrom: {sender_short_name}\nTitle: {subject}\nDM 'CB,,Urgent' to view" send_message(notification_message, BROADCAST_NUM, interface) elif message.startswith("MAIL|"): parts = message.split("|")