Skip to content

Commit

Permalink
Oops. Put the argument where it's actually valid.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Holland committed Jan 20, 2011
1 parent 1ef3412 commit 04b4bd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pdftk/pdf.rb
Expand Up @@ -19,7 +19,7 @@ def clear_values
def export(output_pdf_path, options = {})
xfdf_path = Tempfile.new('pdftk-xfdf').path
File.open(xfdf_path, 'w'){|f| f << xfdf }
system %{pdftk "#{path}" #{'flatten' if options[:flatten]} fill_form "#{xfdf_path}" output "#{output_pdf_path}"}
system %{pdftk "#{path}" fill_form "#{xfdf_path}" output "#{output_pdf_path}" #{'flatten' if options[:flatten]}}
end

def xfdf
Expand Down

0 comments on commit 04b4bd2

Please sign in to comment.