[ TextEdges ] allow single non-empty char textline
In TextEdges.generate function, updating criteria of selection of textline to atleast one non white-space character. Currently, this is set to two due to to greater than one condition.pull/130/head
parent
fcad5067b9
commit
b8acb61be6
|
|
@ -128,7 +128,7 @@ class TextEdges(object):
|
|||
rows.
|
||||
"""
|
||||
for tl in textlines:
|
||||
if len(tl.get_text().strip()) > 1: # TODO: hacky
|
||||
if len(tl.get_text().strip()) >= 1: # TODO: hacky
|
||||
self.update(tl)
|
||||
|
||||
def get_relevant(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue