Ajoute la gestion des brouillons

This commit is contained in:
2025-06-24 19:58:56 +02:00
parent ee19286ee8
commit 8c4cb8dad2
6 changed files with 52 additions and 46 deletions

View File

@@ -5,7 +5,15 @@ from pathlib import Path
class Config:
_conf = dict()
_list_valid_parameters = {"inbox", "outbox", "theme", "title", "presentation", "url"}
_list_valid_parameters = {
"inbox",
"outbox",
"theme",
"title",
"presentation",
"url",
"draft",
}
def __init__(self, config_file: Path):
"""Constructeur : charge les paramètres depuis le fichier de configuration"""