Add minor fix
Minor fix
This commit is contained in:
+1
-1
@@ -260,7 +260,7 @@ class OCRStream:
|
||||
if self.columns is not None:
|
||||
if len(self.table_area) != len(self.columns):
|
||||
raise ValueError("{0}: Length of table area and columns"
|
||||
"should be equal.".format(os.path.basename(bname)))
|
||||
" should be equal.".format(os.path.basename(bname)))
|
||||
|
||||
table_bbox = {}
|
||||
for area in self.table_area:
|
||||
|
||||
+1
-1
@@ -313,7 +313,7 @@ class Stream:
|
||||
if self.columns is not None:
|
||||
if len(self.table_area) != len(self.columns):
|
||||
raise ValueError("{0}: Length of table area and columns"
|
||||
"should be equal.".format(os.path.basename(bname)))
|
||||
" should be equal.".format(os.path.basename(bname)))
|
||||
|
||||
table_bbox = {}
|
||||
for area in self.table_area:
|
||||
|
||||
Reference in New Issue
Block a user