This commit is contained in:
Vinayak Mehta
2019-01-03 16:13:41 +05:30
parent 9d90cadac0
commit 605ffdd444
4 changed files with 13 additions and 4 deletions
+2 -2
View File
@@ -357,8 +357,8 @@ class Lattice(BaseParser):
if not self.horizontal_text:
if self.images:
warnings.warn('The page is image-based, Camelot only works with'
' text-based PDF pages.'.format(os.path.basename(self.rootname)))
warnings.warn('{} is image-based, camelot only works on'
' text-based pages.'.format(os.path.basename(self.rootname)))
else:
warnings.warn('No tables found on {}'.format(
os.path.basename(self.rootname)))
+2 -2
View File
@@ -396,8 +396,8 @@ class Stream(BaseParser):
if not self.horizontal_text:
if self.images:
warnings.warn('The page is image-based, Camelot only works with'
' text-based PDF pages.'.format(os.path.basename(self.rootname)))
warnings.warn('{} is image-based, camelot only works on'
' text-based pages.'.format(os.path.basename(self.rootname)))
else:
warnings.warn('No tables found on {}'.format(
os.path.basename(self.rootname)))