Refactor tesseract_env variable into the plugin

Removed all cases except one in api.py, which isn't worth solving because
it should be removed anyway.

This also fixes a logic error in the OMP_THREAD_LIMIT decision, api.py
did not use pass kwargs correctly so they never worked before.
This commit is contained in:
James R. Barlow
2020-05-26 02:14:06 -07:00
parent d43212d30b
commit aa060db5bc
7 changed files with 42 additions and 37 deletions
-1
View File
@@ -474,7 +474,6 @@ Online documentation is located at:
action='store_true',
help="Keep temporary files (helpful for debugging)",
)
debugging.add_argument('--tesseract-env', type=str, help=argparse.SUPPRESS)
return parser