Продолжаю тестирование

main
Лев 2025-08-27 16:17:52 +05:00
parent ab4f8202d4
commit a76f4890ce
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ class SimpleDB:
organ, names, date_from_str, date_to_str, ver = value
# Парсим даты
date_from = parser.parse(date_from_str)
if date_to_str != None: date_to = parser.parse(date_to_str)
date_to = parser.parse(date_to_str) if date_to_str else None
respons = cursor.callproc('P_RK_SEND_JSON_LIST_FACEACC', [int(id), organ,names, date_from, date_to, ver])
# тестого
print("Ответ от БД: ", respons)