removed unlink of pdf files

This commit is contained in:
blazickjp
2025-04-22 04:00:41 -07:00
parent b23eae1c94
commit 26fa8f3b0b
2 changed files with 0 additions and 2 deletions

View File

@@ -43,7 +43,6 @@ class PaperManager:
async with aiofiles.open(paper_md_path, "w", encoding="utf-8") as f:
await f.write(markdown)
paper_pdf_path.unlink() # Remove PDF after conversion
return True
except StopIteration:

View File

@@ -74,7 +74,6 @@ def convert_pdf_to_markdown(paper_id: str, pdf_path: Path) -> None:
status.completed_at = datetime.now()
# Clean up PDF after successful conversion
pdf_path.unlink()
logger.info(f"Conversion completed for {paper_id}")
except Exception as e: