From b72336c297b7e9c85b95144417ef455d42b24206 Mon Sep 17 00:00:00 2001 From: Anton Palgunov Date: Sat, 1 Apr 2023 22:25:18 +0100 Subject: [PATCH] fix --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 26daca9..6903638 100644 --- a/bot.py +++ b/bot.py @@ -173,7 +173,7 @@ def send_voice_text(call): # Send the response back to the user with markdown formatting try: ans = bot.send_message(chat_id=call.message.chat.id, text=response_text , parse_mode='Markdown') - if reason != 'stop': + if reason != "stop": bot.reply_to(ans, f"Finish reason: {reason} \nCost: {cost}") except Exception as e: print(e)