watcher: allow all parameters to ocrmypdf.pdf to be passed by JSON

This commit is contained in:
James R. Barlow
2020-03-15 21:45:51 -07:00
parent 99653fcd32
commit 9be533b5f4
3 changed files with 53 additions and 56 deletions
+2
View File
@@ -20,6 +20,8 @@ import argparse
from ._version import PROGRAM_NAME as _PROGRAM_NAME
from ._version import __version__ as _VERSION
__all__ = ['parser']
def numeric(basetype, min_=None, max_=None):
"""Validator for numeric params"""