Changeset 127

Show
Ignore:
Timestamp:
08.01.2007 11:29:45 (2 years ago)
Author:
decoder
Message:

Added warn() when no scansets were loaded because of missing focr_config_end line

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/devel/FuzzyOcr/Config.pm

    r126 r127  
    625625        next if $k =~ m/^focr_threshold_/; 
    626626        debuglog(" $k => ".$conf->{$k}); 
     627    } 
     628 
     629    unless (@scansets) { 
     630        warn("No scansets loaded, did you remove the \"focr_config_end\" line at the end of the .cf file?"); 
    627631    } 
    628632