fix
All checks were successful
Deploy Dev / Build (pull_request) Successful in 5s
Deploy Dev / Push (pull_request) Successful in 8s
Deploy Dev / Deploy dev (pull_request) Successful in 7s

This commit is contained in:
emmatveev 2024-11-30 15:08:09 +03:00
parent 120b23a885
commit 243b9e8c9c

2
bot.py
View File

@ -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()