update
This commit is contained in:
@@ -54,11 +54,6 @@ def _content_json(topic: str, fmt: str) -> dict | None:
|
||||
return None
|
||||
|
||||
|
||||
def _kapitel_titel(topic: str, fmt: str) -> set[str] | None:
|
||||
content = _content_json(topic, fmt)
|
||||
if content is None:
|
||||
return None
|
||||
return {c.get("title") for c in content.get("chapters", [])}
|
||||
|
||||
|
||||
def _section_titel(topic: str, fmt: str) -> set[str] | None:
|
||||
|
||||
Reference in New Issue
Block a user