Remove debug statements
This commit is contained in:
@@ -61,10 +61,8 @@ class TextEdges(object):
|
|||||||
x_coord = self.get_x_coord(textline, align)
|
x_coord = self.get_x_coord(textline, align)
|
||||||
idx = self.find_textedge(x_coord, align)
|
idx = self.find_textedge(x_coord, align)
|
||||||
if idx is None:
|
if idx is None:
|
||||||
print('adding')
|
|
||||||
self.add_textedge(textline, align)
|
self.add_textedge(textline, align)
|
||||||
else:
|
else:
|
||||||
print('updating')
|
|
||||||
self._textedges[align][idx].update_coords(x_coord, textline.y0)
|
self._textedges[align][idx].update_coords(x_coord, textline.y0)
|
||||||
|
|
||||||
def generate_textedges(self, textlines):
|
def generate_textedges(self, textlines):
|
||||||
|
|||||||
Reference in New Issue
Block a user