Fix table_bbox when no tarea is given

pull/2/head
Vinayak Mehta 2016-09-05 21:26:16 +05:30 committed by GitHub
parent d86630e70b
commit 98f47d1bd7
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ class Stream:
y2 = int(y2) y2 = int(y2)
table_bbox[(x1, y2, x2, y1)] = None table_bbox[(x1, y2, x2, y1)] = None
else: else:
table_bbox = {(0, height, width, 0): None} table_bbox = {(0, 0, width, height): None}
page = {} page = {}
tables = {} tables = {}