Minor fix
This commit is contained in:
1 parent
ed44d603f5
commit
72c2a0020f
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -212,7 +212,7 @@ class Lattice:
|
||||
if not ltchar:
|
||||
logging.warning("{0}: PDF has no text. It may be an image.".format(
|
||||
os.path.basename(bname)))
|
||||
return None
|
||||
return {os.path.basename(bname): None}
|
||||
|
||||
imagename = ''.join([bname, '.png'])
|
||||
gs_call = [
|
||||
|
||||
+1
-1
@@ -307,7 +307,7 @@ class Stream:
|
||||
if not lttextlh:
|
||||
logging.warning("{0}: PDF has no text. It may be an image.".format(
|
||||
os.path.basename(bname)))
|
||||
return None
|
||||
return {os.path.basename(bname): None}
|
||||
|
||||
if self.debug:
|
||||
self.debug_text = []
|
||||
|
||||
Reference in new issue
Block a user