This commit is contained in:
team3
2026-07-06 18:53:43 +02:00
parent 72a82ed9dd
commit 9c55b05373
3 changed files with 114 additions and 49 deletions

View File

@@ -805,6 +805,9 @@ async def remove_guide_format(req: GuideFormatRequest):
for p in guide_slot_files(content):
p.unlink(missing_ok=True)
content.unlink(missing_ok=True)
import qa # Guide-QA-Report mitlöschen — sonst zeigt board_snapshot die alte Note weiter
for p in qa.report_paths(req.topic, guide=True):
p.unlink(missing_ok=True)
return {"ok": True, "removed": len(doomed)}