-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
libreoffice text conversion adn specs fixes #3
Conversation
|
||
executioner.execute( | ||
'pdftotext', | ||
pdf_file, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we need this extra pdf_file
variable, "#{job.content_file}.pdf" is enough.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
@vjt fixed and commented |
'pdftotext', | ||
"#{job.content_file}.pdf", | ||
target_file | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't look right, if to_suffix
is txt
convert it to a PDF?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh I see, you convert it from OO -> PDF -> TXT 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes @lucaspiller because OO -> TXT is not working right for xlsx and ppt
libreoffice text conversion and specs fixes
please @vjt review when you can