diff --git a/BotPM.py b/BotPM.py index 623e8e2..23f4654 100644 --- a/BotPM.py +++ b/BotPM.py @@ -616,7 +616,7 @@ def find_patients_by_id(telegram_id): records = sheet.get_all_records() # Получаем все строки таблицы patients = [] for record in records: - if str(record["Telegram ID"]) == str(telegram_id) and str(record["Верификация"]) == "Пройдена": + if str(record["Telegram ID"]) == str(telegram_id): patients.append(record) return patients