From: Ian Jackson Date: Thu, 10 Sep 2009 15:44:32 +0000 (+0100) Subject: Do not spuriously refuse to upload from single-page commodity lists X-Git-Tag: 3.5^2~5 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=commitdiff_plain;h=b17a376528224db513d3b9c3291a16687a7684d9;ds=sidebyside Do not spuriously refuse to upload from single-page commodity lists --- diff --git a/yarrg/convert.c b/yarrg/convert.c index 555eefe..76a9a7a 100644 --- a/yarrg/convert.c +++ b/yarrg/convert.c @@ -94,7 +94,7 @@ static void run_analysis(void) { analyse(tf); if (o_flags & ff_upload) { - if (npages<=1) + if (o_flags & ff_singlepage) fatal("Recognition successful, but refusing to upload partial data\n" " (--single-page specified). Specify an output mode?"); }