From b2a8348f13d138359eaf94884d71ad5989410e23 Mon Sep 17 00:00:00 2001 From: Vinayak Mehta Date: Sun, 26 May 2019 17:13:59 +0530 Subject: [PATCH] Fix #312 --- camelot/parsers/stream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camelot/parsers/stream.py b/camelot/parsers/stream.py index 1efe144..2fb7da3 100644 --- a/camelot/parsers/stream.py +++ b/camelot/parsers/stream.py @@ -286,7 +286,7 @@ class Stream(BaseParser): # filter horizontal text hor_text = [] for region in self.table_regions: - x1, y1, x2, y2 = region + x1, y1, x2, y2 = region.split(",") region_text = text_in_bbox((x1, y2, x2, y1), self.horizontal_text) hor_text.extend(region_text) # find tables based on nurminen's detection algorithm