make_rootlist.py: динамическая дата (datetime.date.today) вместо захардкоженной 2026-09-28
This commit is contained in:
parent
fe0ee37987
commit
5854be7209
2 changed files with 4 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue