X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-test.git;a=blobdiff_plain;f=yarrg%2Focr.c;h=08bc60c6b4c1efa3664bdcfd05faaca70faba1c2;hp=92b09031c5c53ccde0029c0b7a26343db68645c6;hb=e1117d96e803ab50e726eb42410c00151f76a4f5;hpb=c68fb80a6bbf7acbcac4b2cb2143f5fea745cd2b diff --git a/yarrg/ocr.c b/yarrg/ocr.c index 92b0903..08bc60c 100644 --- a/yarrg/ocr.c +++ b/yarrg/ocr.c @@ -279,7 +279,8 @@ static int should_reject(OcrReader *rd) { int ovector[30]; if (!rejections_loaded) { - fetch_with_rsync("reject"); + if (o_flags & ff_dict_fetch) + fetch_with_rsync("reject"); load_rejections("master"); load_rejections("local"); rejections_loaded=1;