убрал ограничение по сохранению док файла
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user