pull/153/head
Frh 2020-04-19 16:40:14 -07:00
parent e8e80a8cbb
commit 07e2e1640d
4 changed files with 4 additions and 6 deletions

View File

@ -208,8 +208,6 @@ class PDFHandler():
if not suppress_stdout: if not suppress_stdout:
logger.info( logger.info(
"Processing {rootname}".format(rootname=rootname)) "Processing {rootname}".format(rootname=rootname))
t = parser.extract_tables( t = parser.extract_tables()
source_file
)
tables.extend(t) tables.extend(t)
return TableList(sorted(tables)) return TableList(sorted(tables))

View File

@ -420,7 +420,7 @@ class Hybrid(BaseParser):
return table return table
def extract_tables(self, filename): def extract_tables(self):
if self._document_has_no_text(): if self._document_has_no_text():
return [] return []

View File

@ -303,7 +303,7 @@ class Lattice(BaseParser):
return table return table
def extract_tables(self, filename): def extract_tables(self):
if self._document_has_no_text(): if self._document_has_no_text():
return [] return []

View File

@ -418,7 +418,7 @@ class Stream(BaseParser):
return table return table
def extract_tables(self, filename): def extract_tables(self):
if self._document_has_no_text(): if self._document_has_no_text():
return [] return []