Permalink
Browse files

fix ocr command invocation

  • Loading branch information...
1 parent 6c2c03c commit 26d29e0eacb0632f8f6a307fda68e6a09693f2c6 @databus23 committed Aug 27, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 abbyy.rb
View
@@ -46,8 +46,7 @@ def process_file filename, output_formats = [{:pdfa => {:mode=>:ImageOnText}}, {
command << " -of #{File.join(output_dir,output_file)}"
output_files << output_file
end
- logger.info command
- ocr_command = Mixlib::ShellOut.new("command")
+ ocr_command = Mixlib::ShellOut.new(command)
ocr_command.logger=logger
ocr_command.run_command
#abby_cli.error!

0 comments on commit 26d29e0

Please sign in to comment.