more term info
This commit is contained in:
parent
5c78a896ec
commit
c19c057755
@ -2,6 +2,7 @@
|
|||||||
import os
|
import os
|
||||||
import shutil
|
import shutil
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
# from datetime import date, datetime, time
|
# from datetime import date, datetime, time
|
||||||
# Modules
|
# Modules
|
||||||
from config import CONFIG
|
from config import CONFIG
|
||||||
@ -33,9 +34,7 @@ else:
|
|||||||
else:
|
else:
|
||||||
nbToExport = len(articles)
|
nbToExport = len(articles)
|
||||||
|
|
||||||
print(
|
print(f"--- Export of {nbToExport} SPIP articles to Markdown & YAML files ---\n")
|
||||||
f"--- Export of {nbToExport} SPIP articles to Markdown & YAML files ---\n"
|
|
||||||
)
|
|
||||||
|
|
||||||
exported = 1
|
exported = 1
|
||||||
|
|
||||||
@ -68,3 +67,4 @@ db.close()
|
|||||||
|
|
||||||
# Announce the end of the script
|
# Announce the end of the script
|
||||||
print(f"\n--- Finished exporting {nbToExport} SPIP articles to md & YAML ---")
|
print(f"\n--- Finished exporting {nbToExport} SPIP articles to md & YAML ---")
|
||||||
|
print(f"--- stored as ./{CONFIG['outputDir']}/*/index.md ---")
|
||||||
|
Loading…
Reference in New Issue
Block a user