From 93095179fc266a1ebad5a96d05eabc7395e172ae Mon Sep 17 00:00:00 2001 From: Mark Botterill <97025274+markbotterill@users.noreply.github.com> Date: Thu, 2 May 2024 13:10:23 +0100 Subject: [PATCH] Fix two small typos in report --- backend/scripts/send_slack_report/send_slack_report.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/scripts/send_slack_report/send_slack_report.py b/backend/scripts/send_slack_report/send_slack_report.py index b8f66aecc29..86070a2f211 100755 --- a/backend/scripts/send_slack_report/send_slack_report.py +++ b/backend/scripts/send_slack_report/send_slack_report.py @@ -64,7 +64,7 @@ def classify_initial_queries(): for k, v in tally_json.items(): percentage = v / total_initial_queries * 100 classifications += f"There were {v} queries (representing {percentage:.1f}% of\ -all initial queries) about {k}\n" + all initial queries) about {k}\n" return classifications @@ -85,7 +85,7 @@ def send_message(user_id, message): SLACK_TOKEN = os.environ["SLACK_BOT_TOKEN"] if not SLACK_TOKEN: logger.debug( - "Slack OAuth token not provided. Check env prod template for guindace" + "Slack OAuth token not provided. Check env prod template for guidance" ) return None logger.info("Initializing Slack client")