From bf96171b6514c010189fd80e5baca34b8f18e141 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Sat, 23 Jun 2018 02:58:26 -0700 Subject: [PATCH] Ignore whether or not textonly_pdf was used in cache The difference doesn't matter in 7.0.0 anymore. --- tests/spoof/tesseract_cache.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/spoof/tesseract_cache.py b/tests/spoof/tesseract_cache.py index e6a2f234..4387df95 100755 --- a/tests/spoof/tesseract_cache.py +++ b/tests/spoof/tesseract_cache.py @@ -116,6 +116,8 @@ def main(): yield Path(args.imagename).name elif arg == args.outputbase: yield Path(args.outputbase).name + elif arg == '-c' or arg.startswith('textonly'): + pass else: yield arg