update
This commit is contained in:
@@ -24,10 +24,7 @@ def liste() -> list[dict]:
|
||||
(p for p in config.DATEN_DIR.iterdir() if p.is_dir()),
|
||||
key=lambda p: p.name.lower(),
|
||||
)
|
||||
return [
|
||||
{"name": p.name, "anzahl": len(list(p.glob("*.md")))}
|
||||
for p in ordner
|
||||
]
|
||||
return [{"name": p.name} for p in ordner]
|
||||
|
||||
|
||||
def anlegen(name: str):
|
||||
|
||||
Reference in New Issue
Block a user