Browse files

fix job file paths to point to the copy of PDF we saved to "target di…

…r" (for consistency). fixes some ENOERR No Such File Or Directory errors with regard to table detector
  • Loading branch information...
1 parent a2a57ca commit 44065a31bbaa25a9906761a227989cdbfb90652a @mtigas mtigas committed Jul 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 webapp/tabula_web.rb
View
2 webapp/tabula_web.rb
@@ -157,7 +157,7 @@ def is_valid_pdf?(path)
:id => file_id)
if req.params['autodetect-tables']
STDERR.puts req.params['autodetect-tables']
- detect_tables_job = DetectTablesJob.create(:filename => original_filename,
+ detect_tables_job = DetectTablesJob.create(:filename => file,
:output_dir => file_path)
else
detect_tables_job = nil

0 comments on commit 44065a3

Please sign in to comment.