From 457dfc1847f94468ce879a2e8e1e1bc34db06a73 Mon Sep 17 00:00:00 2001 From: Antonio Delfin Martinez Date: Thu, 31 Dec 2015 10:38:44 +0100 Subject: [PATCH] -FIX remove unuseful variable after pull request comment --- lib/heathen/processor_methods/libreoffice.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/heathen/processor_methods/libreoffice.rb b/lib/heathen/processor_methods/libreoffice.rb index 7c1c917..5e826ec 100644 --- a/lib/heathen/processor_methods/libreoffice.rb +++ b/lib/heathen/processor_methods/libreoffice.rb @@ -47,7 +47,6 @@ def libreoffice( format: ) target_file = "#{job.content_file}.#{to_suffix}" if to_suffix == 'txt' - pdf_file = "#{job.content_file}.pdf" executioner.execute( 'libreoffice', '--convert-to', 'pdf', @@ -58,7 +57,7 @@ def libreoffice( format: ) executioner.execute( 'pdftotext', - pdf_file, + "#{job.content_file}.pdf", target_file ) else