mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Merge branch 'master' of github.com:danielquinn/paperless
This commit is contained in:
commit
5e40227bc3
@ -18,7 +18,7 @@ pdftotext>=2.0.1
|
|||||||
|
|
||||||
# For the tests
|
# For the tests
|
||||||
factory-boy
|
factory-boy
|
||||||
pytest
|
pytest==3.3.2 # Newer versions break with pytest-sugar
|
||||||
pytest-django
|
pytest-django
|
||||||
pytest-sugar
|
pytest-sugar
|
||||||
pytest-env
|
pytest-env
|
||||||
|
@ -1 +1 @@
|
|||||||
__version__ = (1, 1, 0)
|
__version__ = (1, 2, 0)
|
||||||
|
@ -235,6 +235,6 @@ def get_text_from_pdf(pdf_file):
|
|||||||
try:
|
try:
|
||||||
pdf = pdftotext.PDF(f)
|
pdf = pdftotext.PDF(f)
|
||||||
except pdftotext.Error:
|
except pdftotext.Error:
|
||||||
return False
|
return ""
|
||||||
|
|
||||||
return "\n".join(pdf)
|
return "\n".join(pdf)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user