uploadconvert 0.0.9 → 0.0.10
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
@@ -60,7 +60,7 @@ class UploadConvert
|
|
60
60
|
begin
|
61
61
|
Docsplit.extract_text(@input, :ocr => false, :output => "public/uploads")
|
62
62
|
outfile = @input.split(".pdf")
|
63
|
-
if outfile[].include? "public/uploads/"
|
63
|
+
if outfile[0].include? "public/uploads/"
|
64
64
|
path = outfile[0]
|
65
65
|
else
|
66
66
|
path = "public/uploads/" + outfile[0]
|