Move Tesseract options validation into plugin

This commit is contained in:
James R. Barlow
2020-05-25 01:31:46 -07:00
parent 9bccff4f88
commit a0f9ca3a30
5 changed files with 55 additions and 40 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ def add_options(parser: ArgumentParser) -> None:
@hookspec
def prepare(options: Namespace) -> None:
def check_options(options: Namespace) -> None:
"""Called to notify a plugin that a file will be processed.
The plugin may modify the *options*. All objects that are in options must