Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at release-19.03 13 lines 416 B view raw
1diff --git a/src/pytesseract.py b/src/pytesseract.py 2index 32713cf..5f9209d 100755 3--- a/src/pytesseract.py 4+++ b/src/pytesseract.py 5@@ -25,7 +25,7 @@ if numpy_installed: 6 from numpy import ndarray 7 8 # CHANGE THIS IF TESSERACT IS NOT IN YOUR PATH, OR IS NAMED DIFFERENTLY 9-tesseract_cmd = 'tesseract' 10+tesseract_cmd = '@drv@/bin/tesseract' 11 RGB_MODE = 'RGB' 12 OSD_KEYS = { 13 'Page number': ('page_num', int),