🎨 debug pdf parser

This commit is contained in:
Daniel 2023-09-03 10:59:29 +08:00
parent 06512f994b
commit 0822d1030e
No known key found for this signature in database
GPG key ID: 86211BA83DF03017

View file

@ -751,8 +751,6 @@ func (parser *PdfAssetParser) getTextPageWorker(id int, instance pdfium.Pdfium,
// Parse will parse a PDF document using PDFium webassembly module using a worker pool
func (parser *PdfAssetParser) Parse(absPath string) (ret *AssetParseResult) {
return nil
now := time.Now()
if !strings.HasSuffix(strings.ToLower(absPath), ".pdf") {
return