Skip to content

Commit

Permalink
[Enh]: OCR - Empty String instead of Error if Cmd Fails
Browse files Browse the repository at this point in the history
  • Loading branch information
seandenigris committed Sep 21, 2024
1 parent 8d64b16 commit 76c82b1
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/Tesseract/Tesseract.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,13 @@ Tesseract class >> newHocr [
{ #category : #convencience }
Tesseract class >> ocr: aClient [

^ self new
^ [ self new
client: aClient;
isHocr: false;
run.
run
]
on: Error
do: [ '' ].
]

{ #category : #accessing }
Expand Down

0 comments on commit 76c82b1

Please sign in to comment.