This commit is contained in:
Team3
2026-06-04 22:24:37 +02:00
parent 5a794cc40c
commit ab85cb530f
6 changed files with 130 additions and 66 deletions

View File

@@ -168,6 +168,7 @@ async def remove(guide_id: str):
raise HTTPException(404, "Guide nicht gefunden")
html_path, pdf_path = final_paths(guide["topic"], guide["format"])
html_path.unlink(missing_ok=True)
html_path.with_suffix(".inventar.md").unlink(missing_ok=True)
pdf_path.unlink(missing_ok=True)
await delete_progress(guide_id)
await delete_guide(guide_id)