Commit 0685d0d
_find_pdf: only return paper/main.pdf, not template sample PDFs
Was returning any .pdf in paper/ dir — picked up acmart.pdf, NeurIPS.pdf,
sample-sigconf.pdf etc. from venue templates. New projects showed
"View PDF" button before any paper was generated.
Now only returns main.pdf if it exists and is >10KB (real paper).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent a775bfe commit 0685d0d
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
471 | 471 | | |
472 | 472 | | |
473 | 473 | | |
474 | | - | |
475 | | - | |
476 | | - | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
477 | 478 | | |
478 | 479 | | |
479 | 480 | | |
| |||
0 commit comments