From 243b9e8c9c81327445639fcb5157f8faddef26ce Mon Sep 17 00:00:00 2001 From: emmatveev Date: Sat, 30 Nov 2024 15:08:09 +0300 Subject: [PATCH] fix --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index d1294d2..1fad95b 100644 --- a/bot.py +++ b/bot.py @@ -64,7 +64,7 @@ class Core(TasksHandlerMixin): self.send_message('πŸ€– Поиски собСсСдника ΠΏΡ€ΠΎΠ΄ΠΎΠ»ΠΆΠ°ΡŽΡ‚ΡΡ') def send_message(self, text, chat_id=None, reply_markup=None, remove_keyboard=True): - if text is None: + if not text: return if reply_markup is None and remove_keyboard: reply_markup = ReplyKeyboardRemove()