убрал ограничение по сохранению док файла
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-05-08 12:17:16 +10:00
parent c9abd97efa
commit dd1c36b9de
2 changed files with 1 additions and 2 deletions

View File

@@ -145,7 +145,6 @@ def setup_routes(app: FastAPI) -> None:
for file in os.listdir(full_dir_path):
if file.endswith('.docx'):
file_title = file[:-5] # убираем расширение .docx
file_title = file_title[:100]
if file_title in titles_from_db:
all_files.append(os.path.join(full_dir_path, file))