Skip to content

Commit

Permalink
-FIX remove unuseful variable after pull request comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mojarra committed Dec 31, 2015
1 parent 649f66b commit 457dfc1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/heathen/processor_methods/libreoffice.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -58,7 +57,7 @@ def libreoffice( format: )

executioner.execute(
'pdftotext',
pdf_file,
"#{job.content_file}.pdf",
target_file
)
else
Expand Down

0 comments on commit 457dfc1

Please sign in to comment.