Fix naming of hOCR rendered files

This commit is contained in:
James R. Barlow
2024-03-22 13:27:20 -07:00
parent a9e1d19b78
commit 686481982a
@@ -220,7 +220,7 @@ class TesseractOcrEngine(OcrEngine):
@staticmethod
def creator_tag(options):
tag = '-PDF' if options.pdf_renderer == 'sandwich' else 'hOCR'
tag = '-PDF' if options.pdf_renderer == 'sandwich' else '-hOCR'
return f"Tesseract OCR{tag} {TesseractOcrEngine.version()}"
def __str__(self):