Merge branch 'master' of https://github.com/danielquinn/paperless into feature/heuristically-extract-date-from-document-text

This commit is contained in:
Wolf-Bastian Pöttner
2018-02-02 22:44:03 +01:00
4 changed files with 4 additions and 3 deletions

View File

@@ -1 +1 @@
__version__ = (1, 1, 0)
__version__ = (1, 2, 0)

View File

@@ -260,6 +260,6 @@ def get_text_from_pdf(pdf_file):
try:
pdf = pdftotext.PDF(f)
except pdftotext.Error:
return False
return ""
return "\n".join(pdf)