From 9ecb119aa46354f9e1de47166d6c79857c83499a Mon Sep 17 00:00:00 2001 From: guange <8863824@gmail.com> Date: Wed, 3 Jun 2015 17:43:42 +0800 Subject: [PATCH] =?UTF-8?q?task=E4=B8=AD=E4=B9=9F=E6=94=B9=E4=B8=BApdf?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/tasks/office.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} "