Commit 5bdb4284 authored by ChamendiPabasara's avatar ChamendiPabasara

PDF converter to MS word - Updated

parent 23a0c1ae
...@@ -374,6 +374,8 @@ def PdfBreaker(gz_url): ...@@ -374,6 +374,8 @@ def PdfBreaker(gz_url):
print("exists!") print("exists!")
continue continue
else: else:
#pdf converter to MS word
cv = Converter(pdf_file) cv = Converter(pdf_file)
cv.convert(docx_file, start=0, end=None) cv.convert(docx_file, start=0, end=None)
cv.close() cv.close()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment