Исправление поиска пациентов в таблице
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user