More logs
This commit is contained in:
1 parent
bc86346154
commit
3eb18ef199
3 files changed
+4
-2
No files matched your search
+1
-1
@@ -212,7 +212,7 @@ class Lattice:
|
||||
ltchar = get_text_objects(layout, ltype="char")
|
||||
width, height = dim
|
||||
bname, __ = os.path.splitext(pdfname)
|
||||
logger.info('Parsing tables from {0}.'.format(bname))
|
||||
logger.info('Parsing tables from {0}.'.format(os.path.basename(bname)))
|
||||
if not ltchar:
|
||||
logger.warning("{0}: PDF has no text. It may be an image.".format(
|
||||
os.path.basename(bname)))
|
||||
|
||||
+1
-1
@@ -301,7 +301,7 @@ class Stream:
|
||||
ltchar = get_text_objects(layout, ltype="char")
|
||||
width, height = dim
|
||||
bname, __ = os.path.splitext(pdfname)
|
||||
logger.info('Parsing tables from {0}'.format(bname))
|
||||
logger.info('Parsing tables from {0}.'.format(os.path.basename(bname)))
|
||||
if not lttextlh:
|
||||
logger.warning("{0}: PDF has no text. It may be an image.".format(
|
||||
os.path.basename(bname)))
|
||||
|
||||
Reference in new issue
Block a user