update
This commit is contained in:
@@ -32,6 +32,12 @@ def liste(projekt: str) -> list[dict]:
|
||||
return sorted(eintraege, key=lambda e: e["sektionen"]["titel"].lower())
|
||||
|
||||
|
||||
def pruefbar(projekt: str) -> list[dict]:
|
||||
"""Alles außer der Vision. Die hält fest, wie es gedacht ist — sie ist die
|
||||
Vorlage, nicht der Prüfling, und keine Prüfung schlägt Änderungen daran vor."""
|
||||
return [f for f in liste(projekt) if f["sektionen"]["art"] != parser.VISION]
|
||||
|
||||
|
||||
def anlegen(projekt: str, roh: str) -> dict:
|
||||
ordner = projekte.wurzel(projekt)
|
||||
titel = parser.zerlege(roh)["titel"]
|
||||
|
||||
Reference in New Issue
Block a user