long vigryzka 100
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-05-08 11:05:07 +10:00
parent 74143fd369
commit e5a93e307a

View File

@@ -145,6 +145,7 @@ 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))