From 76e1d32417f2c312729e63afb7ab00c54b53dd8a Mon Sep 17 00:00:00 2001 From: Vinayak Mehta Date: Mon, 24 Apr 2017 14:06:41 +0530 Subject: [PATCH] Add minor fix Minor fix --- camelot/ocr.py | 2 +- camelot/stream.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/camelot/ocr.py b/camelot/ocr.py index ea2de2e..7aa2948 100644 --- a/camelot/ocr.py +++ b/camelot/ocr.py @@ -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: diff --git a/camelot/stream.py b/camelot/stream.py index 2b6948a..e794d6a 100644 --- a/camelot/stream.py +++ b/camelot/stream.py @@ -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: