Skip to content

Commit

Permalink
'#1828: fix error when enableOCR is not found in any config file
Browse files Browse the repository at this point in the history
  • Loading branch information
lfcnassif committed Oct 20, 2023
1 parent 65d262d commit 652af2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iped-engine/src/main/java/iped/engine/config/OCRConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ public void processProperties(UTF8Properties properties) {
} else if (enableOCR == null) {
enableOCR = false;
}
} else if (enableOCR == null) {
enableOCR = false;
}

value = properties.getProperty("OCRLanguage"); //$NON-NLS-1$
Expand Down

0 comments on commit 652af2a

Please sign in to comment.