update
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user