diff --git a/lib/tasks/office.rake b/lib/tasks/office.rake index 3e4c0a286..ce2d3a221 100644 --- a/lib/tasks/office.rake +++ b/lib/tasks/office.rake @@ -10,7 +10,7 @@ namespace :office do unless Dir.exist?(saved_path) Dir.mkdir(saved_path) end - convered_file = File.join(saved_path, a.disk_filename + ".html") + convered_file = File.join(saved_path, a.disk_filename + ".pdf") office = Trustie::Utils::Office.new(a.diskfile) if office.conver(convered_file) puts "process ok: #{convered_file} "