make_rootlist.py: динамическая дата (datetime.date.today) вместо захардкоженной 2026-09-28

This commit is contained in:
Dmitry Kokorin 2026-10-01 00:01:42 +03:00
parent fe0ee37987
commit 5854be7209
2 changed files with 4 additions and 4 deletions

View file

@ -7,7 +7,7 @@ its listed title, author, RU edition, card link, and links to ALL downloaded fil
Sources: sections/NN/INDEX.md (items) + downloads/NN/MANIFEST.md (files) +
sections/NN/NN-*.md cards (RU title). Regenerable, no manual edits.
"""
import os, re, sys
import os, re, sys, datetime
BASE = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
DL_DIR = {"09-comparison-of-psychodynamic-concepts": "09-comparison",
@ -16,7 +16,7 @@ SECS = ["01-fundamentals", "02-dreams", "03-myths-fairy-tales", "04-pictures",
"05-ethnology", "06-religion", "07-complexes", "08-developmental",
"09-comparison-of-psychodynamic-concepts", "10-psychopathology-psychiatry",
"11-individuation", "12-practical-case"]
DATE = "2026-09-28"
DATE = datetime.date.today().isoformat()
def dldir(sec):
return DL_DIR.get(sec, sec)