исправляю ошибки
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-05-07 18:58:18 +10:00
parent d0f0ea60a8
commit 83020c3124
3 changed files with 5 additions and 3 deletions

View File

@@ -59,7 +59,8 @@ def update_bd_and_create_document(
print("Данные успешно сохранены в БД")
# Создание DOCX документа
path_day = parsed_at.split()[0].replace('-', '/')
# path_day = parsed_at.split()[0].replace('-', '/')
path_day = article_date.split()[0]
documents_path = os.path.join(DOCUMENTS_DIR, path_day)
if not os.path.exists(documents_path):
os.makedirs(documents_path)