uploadconvert 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/uploadconvert.rb +1 -1
- metadata +1 -1
data/lib/uploadconvert.rb
CHANGED
@@ -36,7 +36,7 @@ class UploadConvert
|
|
36
36
|
# Extract text from embedded text PDFs
|
37
37
|
def embedPDF
|
38
38
|
Docsplit.extract_text(@input, :ocr => false)
|
39
|
-
outfile = @input.split(".")
|
39
|
+
outfile = @input.split(".pdf")
|
40
40
|
text = File.read(outfile[0]+".txt")
|
41
41
|
|
42
42
|
# Clean up text and delete file
|